diff options
| author | Ming Lei <[email protected]> | 2020-09-10 15:50:56 +0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-09-15 22:20:11 -0400 |
| commit | ed5dd6a67d5eac5fb8873697b55dc1699752a9f3 (patch) | |
| tree | f2b12578e83f2b256c0dbf532741ee1f41d110d3 /tools/perf/scripts/python | |
| parent | f97e6e1eabbfed0ec3ccce7562df26a5b21d0d99 (diff) | |
scsi: core: Only re-run queue in scsi_end_request() if device queue is busy
The request queue is currently run unconditionally in scsi_end_request() if
both target queue and host queue are ready.
Recently Long Li reported that cost of a queue run can be very heavy in
case of high queue depth. Improve this situation by only running the
request queue when this LUN is busy.
Link: https://lore.kernel.org/r/[email protected]
Reported-by: Long Li <[email protected]>
Tested-by: Long Li <[email protected]>
Tested-by: Kashyap Desai <[email protected]>
Reviewed-by: Bart Van Assche <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Ewan D. Milne <[email protected]>
Reviewed-by: John Garry <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions