mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-19 13:46:25 +00:00
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:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user