target: Drop se_device TCQ queue_depth usage from I/O path
authorNicholas Bellinger <nab@linux-iscsi.org>
Wed, 30 Nov 2011 09:25:21 +0000 (01:25 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 14 Dec 2011 11:42:13 +0000 (11:42 +0000)
commit65586d51e0986be574118286c3d0007e903a2add
tree0684f76d53e666ffe2a2c77f8e3947d263fa1b75
parent40be67f4c588fe2f3e2dbd60ae1f470abc5b6ad8
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>
drivers/target/target_core_device.c
drivers/target/target_core_pscsi.c
drivers/target/target_core_transport.c
include/target/target_core_base.h