diff options
author | Hannes Reinecke <hare@suse.de> | 2013-10-16 03:12:55 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-10-16 18:41:50 -0400 |
commit | 969871cdc2d0f5a81d6733450b5334d14fce2b75 (patch) | |
tree | 3f6f35aaa3cc3f10f3e31f68a47a72bfa1b17f3d /drivers/target/loopback/tcm_loop.h | |
parent | a314d7003ccd4f4886d1280ff4f6c00217fc9ae3 (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.h | 2 |
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 @@ | |||
10 | struct tcm_loop_cmd { | 10 | struct tcm_loop_cmd { |
11 | /* State of Linux/SCSI CDB+Data descriptor */ | 11 | /* State of Linux/SCSI CDB+Data descriptor */ |
12 | u32 sc_cmd_state; | 12 | u32 sc_cmd_state; |
13 | /* Tagged command queueing */ | ||
14 | u32 sc_cmd_tag; | ||
13 | /* Pointer to the CDB+Data descriptor from Linux/SCSI subsystem */ | 15 | /* Pointer to the CDB+Data descriptor from Linux/SCSI subsystem */ |
14 | struct scsi_cmnd *sc; | 16 | struct scsi_cmnd *sc; |
15 | /* The TCM I/O descriptor that is accessed via container_of() */ | 17 | /* The TCM I/O descriptor that is accessed via container_of() */ |