diff options
author | Christoph Hellwig <[email protected]> | 2014-03-26 10:35:00 +0100 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2014-07-25 17:16:05 -0400 |
commit | 2ccbb00808465338b57c39f38c0b1e7ce69e2bb1 (patch) | |
tree | e7a6e51c60b86d546a114441cc4e4dc6c46252d1 /net/lapb/lapb_subr.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 <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Reviewed-by: Webb Scales <[email protected]>
Acked-by: Jens Axboe <[email protected]>
Tested-by: Bart Van Assche <[email protected]>
Tested-by: Robert Elliott <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions