diff options
author | Hannes Reinecke <hare@suse.de> | 2013-10-16 11:12:55 +0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-10-17 02:41:50 +0400 |
commit | 969871cdc2d0f5a81d6733450b5334d14fce2b75 (patch) | |
tree | 3f6f35aaa3cc3f10f3e31f68a47a72bfa1b17f3d /drivers/target/loopback/tcm_loop.h | |
parent | a314d7003ccd4f4886d1280ff4f6c00217fc9ae3 (diff) | |
download | linux-969871cdc2d0f5a81d6733450b5334d14fce2b75.tar.xz |
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 @@ 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() */ |