Pass-through dev handlers are async, so let's make them single threaded.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1959 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2010-08-19 12:39:26 +00:00
parent f154480e68
commit 11a8b8e9c6
7 changed files with 7 additions and 0 deletions
+1
View File
@@ -43,6 +43,7 @@ static int cdrom_done(struct scst_cmd *);
static struct scst_dev_type cdrom_devtype = {
.name = CDROM_NAME,
.type = TYPE_ROM,
.threads_num = 1,
.parse_atomic = 1,
.dev_done_atomic = 1,
.attach = cdrom_attach,
+1
View File
@@ -38,6 +38,7 @@ static int changer_parse(struct scst_cmd *);
static struct scst_dev_type changer_devtype = {
.name = CHANGER_NAME,
.type = TYPE_MEDIUM_CHANGER,
.threads_num = 1,
.parse_atomic = 1,
/* .dev_done_atomic = 1, */
.attach = changer_attach,
+1
View File
@@ -49,6 +49,7 @@ static int disk_exec(struct scst_cmd *cmd);
static struct scst_dev_type disk_devtype = {
.name = DISK_NAME,
.type = TYPE_DISK,
.threads_num = 1,
.parse_atomic = 1,
.dev_done_atomic = 1,
.attach = disk_attach,
+1
View File
@@ -49,6 +49,7 @@ static int modisk_exec(struct scst_cmd *);
static struct scst_dev_type modisk_devtype = {
.name = MODISK_NAME,
.type = TYPE_MOD,
.threads_num = 1,
.parse_atomic = 1,
.dev_done_atomic = 1,
.attach = modisk_attach,
+1
View File
@@ -38,6 +38,7 @@ static int processor_parse(struct scst_cmd *);
static struct scst_dev_type processor_devtype = {
.name = PROCESSOR_NAME,
.type = TYPE_PROCESSOR,
.threads_num = 1,
.parse_atomic = 1,
/* .dev_done_atomic = 1,*/
.attach = processor_attach,
+1
View File
@@ -38,6 +38,7 @@ static int raid_parse(struct scst_cmd *);
static struct scst_dev_type raid_devtype = {
.name = RAID_NAME,
.type = TYPE_RAID,
.threads_num = 1,
.parse_atomic = 1,
/* .dev_done_atomic = 1,*/
.attach = raid_attach,
+1
View File
@@ -54,6 +54,7 @@ static int tape_exec(struct scst_cmd *);
static struct scst_dev_type tape_devtype = {
.name = TAPE_NAME,
.type = TYPE_TAPE,
.threads_num = 1,
.parse_atomic = 1,
.dev_done_atomic = 1,
.attach = tape_attach,