diff options
author | Christoph Hellwig <hch@infradead.org> | 2012-02-02 23:04:41 +0100 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-02-25 23:37:48 +0100 |
commit | afe2cb7fb111ac52ec95ab2bfb19d9d9e0d52ed8 (patch) | |
tree | f4ae15c8e06727b90e81405776d32d59c71aafcc /drivers/target/loopback/tcm_loop.h | |
parent | tcm_loop: kill tcm_loop_allocate_core_cmd (diff) | |
download | linux-afe2cb7fb111ac52ec95ab2bfb19d9d9e0d52ed8.tar.xz linux-afe2cb7fb111ac52ec95ab2bfb19d9d9e0d52ed8.zip |
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 { u32 sc_cmd_state; /* Pointer to the CDB+Data descriptor from Linux/SCSI subsystem */ struct scsi_cmnd *sc; - struct list_head *tl_cmd_list; /* The TCM I/O descriptor that is accessed via container_of() */ struct se_cmd tl_se_cmd; + struct work_struct work; /* Sense buffer that will be mapped into outgoing status */ unsigned char tl_sense_buf[TRANSPORT_SENSE_BUFFER]; }; |