aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2020-09-10 15:50:56 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2020-09-15 22:20:11 -0400
commited5dd6a67d5eac5fb8873697b55dc1699752a9f3 (patch)
treef2b12578e83f2b256c0dbf532741ee1f41d110d3 /tools/perf/scripts/python/export-to-postgresql.py
parentscsi: aic7xxx: Use kmemdup() in two places (diff)
downloadwireguard-linux-ed5dd6a67d5eac5fb8873697b55dc1699752a9f3.tar.xz
wireguard-linux-ed5dd6a67d5eac5fb8873697b55dc1699752a9f3.zip
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/20200910075056.36509-1-ming.lei@redhat.com Reported-by: Long Li <longli@microsoft.com> Tested-by: Long Li <longli@microsoft.com> Tested-by: Kashyap Desai <kashyap.desai@broadcom.com> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Ewan D. Milne <emilne@redhat.com> Reviewed-by: John Garry <john.garry@huawei.com> Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions