aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2014-01-22 14:49:41 +0100
committerChristoph Hellwig <[email protected]>2014-07-25 07:39:00 -0400
commit7ae65c0f9646c29432b69580b80e08632e6cd813 (patch)
tree9b4cf362095370eeb5c42d21dc33746d0ba088bd /tools/perf/scripts/python
parentcf68d334dd3a323624f6399dc807d34d8b816391 (diff)
scsi: convert target_busy to an atomic_t
Avoid taking the host-wide host_lock to check the per-target queue limit. Instead we do an atomic_inc_return early on to grab our slot in the queue, and if necessary decrement it after finishing all checks. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Reviewed-by: Hannes Reinecke <[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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions