Christoph Hellwig 2ccbb00808 scsi: only maintain target_blocked if the driver has a target queue limit
This saves us an atomic operation for each I/O submission and completion
for the usual case where the driver doesn't set a per-target can_queue
value.  Only a few iscsi hardware offload drivers set the per-target
can_queue value at the moment.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Webb Scales <webbnh@hp.com>
Acked-by: Jens Axboe <axboe@kernel.dk>
Tested-by: Bart Van Assche <bvanassche@acm.org>
Tested-by: Robert Elliott <elliott@hp.com>
2014-07-25 17:16:05 -04:00
..
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2014-05-19 19:12:23 +02:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:43 +02:00
2014-04-18 14:20:48 +02:00
2014-07-17 22:07:37 +02:00
2014-06-06 07:57:37 -06:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2014-07-25 07:43:43 -04:00
2014-07-17 22:07:37 +02:00
2013-04-09 14:13:23 -04:00
2014-07-17 22:07:37 +02:00
2014-06-09 18:54:06 -07:00
2014-07-17 22:07:40 +02:00
2014-07-17 22:07:38 +02:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2013-04-09 14:13:17 -04:00
2014-07-17 22:07:38 +02:00
2014-07-17 22:07:37 +02:00
2013-04-09 14:13:16 -04:00
2013-04-09 14:13:16 -04:00
2013-04-09 14:13:16 -04:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2013-04-09 14:13:16 -04:00
2014-07-17 22:07:37 +02:00
2013-04-09 14:13:27 -04:00
2014-07-17 22:07:44 +02:00
2014-07-25 07:43:43 -04:00
2014-07-17 22:07:44 +02:00
2014-07-17 22:07:37 +02:00
2013-04-09 14:13:15 -04:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:35 +02:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2014-05-28 18:14:16 +02:00
2014-07-17 22:07:37 +02:00
2014-06-06 07:57:37 -06:00
2014-07-17 22:07:37 +02:00
2013-04-09 14:13:17 -04:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2014-04-10 15:30:35 -07:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:44 +02:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:44 +02:00
2013-11-23 22:33:50 -08:00
2014-07-17 22:16:29 +02:00
2014-07-17 22:07:33 +02:00
2014-07-25 07:43:45 -04:00
2014-07-17 22:07:39 +02:00
2014-07-17 22:07:39 +02:00
2014-07-17 22:07:39 +02:00
2014-07-17 22:07:41 +02:00
2012-09-14 17:59:29 +01:00
2014-07-17 22:07:37 +02:00
2014-05-28 12:05:37 +02:00
2014-05-28 12:05:37 +02:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2013-04-09 14:13:15 -04:00