diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-11-30 04:25:21 -0500 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-12-14 06:42:13 -0500 |
commit | 65586d51e0986be574118286c3d0007e903a2add (patch) | |
tree | 0684f76d53e666ffe2a2c77f8e3947d263fa1b75 /include/target | |
parent | 40be67f4c588fe2f3e2dbd60ae1f470abc5b6ad8 (diff) |
target: Drop se_device TCQ queue_depth usage from I/O path
Historically, pSCSI devices have been the ones that required target-core
to enforce a per se_device->depth_left. This patch changes target-core
to no longer (by default) enforce a per se_device->depth_left or sleep in
transport_tcq_window_closed() when we out of queue slots for all backend
export cases.
Cc: Christoph Hellwig <hch@lst.de>
Cc: Roland Dreier <roland@purestorage.com>
Cc: Joern Engel <joern@logfs.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target')
-rw-r--r-- | include/target/target_core_base.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h index 28190dc10eef..cd4caf3a598f 100644 --- a/include/target/target_core_base.h +++ b/include/target/target_core_base.h | |||
@@ -798,7 +798,6 @@ struct se_device { | |||
798 | spinlock_t stats_lock; | 798 | spinlock_t stats_lock; |
799 | /* Active commands on this virtual SE device */ | 799 | /* Active commands on this virtual SE device */ |
800 | atomic_t simple_cmds; | 800 | atomic_t simple_cmds; |
801 | atomic_t depth_left; | ||
802 | atomic_t dev_ordered_id; | 801 | atomic_t dev_ordered_id; |
803 | atomic_t execute_tasks; | 802 | atomic_t execute_tasks; |
804 | atomic_t dev_ordered_sync; | 803 | atomic_t dev_ordered_sync; |