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 14:37:48 -0800 |
commit | afe2cb7fb111ac52ec95ab2bfb19d9d9e0d52ed8 (patch) | |
tree | f4ae15c8e06727b90e81405776d32d59c71aafcc /drivers/target/loopback/tcm_loop.h | |
parent | f872c9f417a38a08b6ffe46e1f937d3db1d22775 (diff) | |
download | op-kernel-dev-afe2cb7fb111ac52ec95ab2bfb19d9d9e0d52ed8.zip op-kernel-dev-afe2cb7fb111ac52ec95ab2bfb19d9d9e0d52ed8.tar.gz |
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 15a0364..fc9bade 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]; }; |