summaryrefslogtreecommitdiff
path: root/lib/scatterlist.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2014-03-26 09:35:00 (GMT)
committerChristoph Hellwig <hch@lst.de>2014-07-25 21:16:05 (GMT)
commit2ccbb00808465338b57c39f38c0b1e7ce69e2bb1 (patch)
treee7a6e51c60b86d546a114441cc4e4dc6c46252d1 /lib/scatterlist.c
parentcd9070c9c512ff7995f9019392e0ae548df3a088 (diff)
downloadlinux-2ccbb00808465338b57c39f38c0b1e7ce69e2bb1.tar.xz
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 'lib/scatterlist.c')
0 files changed, 0 insertions, 0 deletions