diff options
author | Christoph Hellwig <hch@infradead.org> | 2012-02-02 17:04:41 -0500 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-02-25 17:37:48 -0500 |
commit | afe2cb7fb111ac52ec95ab2bfb19d9d9e0d52ed8 (patch) | |
tree | f4ae15c8e06727b90e81405776d32d59c71aafcc /drivers/target/loopback/tcm_loop.h | |
parent | f872c9f417a38a08b6ffe46e1f937d3db1d22775 (diff) |
tcm_loop: defer all command submissions to workqueue
Apply the qla2xxx model of submitting all commands from a workqueue.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/loopback/tcm_loop.h')
-rw-r--r-- | drivers/target/loopback/tcm_loop.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/target/loopback/tcm_loop.h b/drivers/target/loopback/tcm_loop.h index 15a036441471..fc9bade9641b 100644 --- a/drivers/target/loopback/tcm_loop.h +++ b/drivers/target/loopback/tcm_loop.h | |||
@@ -12,9 +12,9 @@ struct tcm_loop_cmd { | |||
12 | u32 sc_cmd_state; | 12 | u32 sc_cmd_state; |
13 | /* Pointer to the CDB+Data descriptor from Linux/SCSI subsystem */ | 13 | /* Pointer to the CDB+Data descriptor from Linux/SCSI subsystem */ |
14 | struct scsi_cmnd *sc; | 14 | struct scsi_cmnd *sc; |
15 | struct list_head *tl_cmd_list; | ||
16 | /* The TCM I/O descriptor that is accessed via container_of() */ | 15 | /* The TCM I/O descriptor that is accessed via container_of() */ |
17 | struct se_cmd tl_se_cmd; | 16 | struct se_cmd tl_se_cmd; |
17 | struct work_struct work; | ||
18 | /* Sense buffer that will be mapped into outgoing status */ | 18 | /* Sense buffer that will be mapped into outgoing status */ |
19 | unsigned char tl_sense_buf[TRANSPORT_SENSE_BUFFER]; | 19 | unsigned char tl_sense_buf[TRANSPORT_SENSE_BUFFER]; |
20 | }; | 20 | }; |