diff options
author | Christoph Hellwig <hch@lst.de> | 2014-03-26 10:35:00 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-07-25 17:16:05 -0400 |
commit | 2ccbb00808465338b57c39f38c0b1e7ce69e2bb1 (patch) | |
tree | e7a6e51c60b86d546a114441cc4e4dc6c46252d1 /samples/kobject/kset-example.c | |
parent | cd9070c9c512ff7995f9019392e0ae548df3a088 (diff) |
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>
Diffstat (limited to 'samples/kobject/kset-example.c')
0 files changed, 0 insertions, 0 deletions