aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/loopback/tcm_loop.h
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2013-10-16 09:12:55 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2013-10-16 15:41:50 -0700
commit969871cdc2d0f5a81d6733450b5334d14fce2b75 (patch)
tree3f6f35aaa3cc3f10f3e31f68a47a72bfa1b17f3d /drivers/target/loopback/tcm_loop.h
parenta314d7003ccd4f4886d1280ff4f6c00217fc9ae3 (diff)
tcm_loop: TCQ and command abort support
Implement TCQ support, which enables us to do proper command abort, too. Signed-off-by: Hannes Reinecke <hare@suse.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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/target/loopback/tcm_loop.h b/drivers/target/loopback/tcm_loop.h
index 56528f7dafae..54c59d0b6608 100644
--- a/drivers/target/loopback/tcm_loop.h
+++ b/drivers/target/loopback/tcm_loop.h
@@ -10,6 +10,8 @@
struct tcm_loop_cmd {
/* State of Linux/SCSI CDB+Data descriptor */
u32 sc_cmd_state;
+ /* Tagged command queueing */
+ u32 sc_cmd_tag;
/* Pointer to the CDB+Data descriptor from Linux/SCSI subsystem */
struct scsi_cmnd *sc;
/* The TCM I/O descriptor that is accessed via container_of() */

Privacy Policy