summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorMike Christie <michael.christie@oracle.com>2024-01-23 03:22:14 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2024-01-30 05:20:54 +0300
commit8d24677ebb9e79201801cedefc5127655d5e8c3f (patch)
tree8888497c1511310aba42d8705eabdcc3000099f7 /tools/perf/scripts/python/task-analyzer.py
parent21bdff48e12bf674208e0575a03ca89d663f1a3c (diff)
downloadlinux-8d24677ebb9e79201801cedefc5127655d5e8c3f.tar.xz
scsi: core: Have SCSI midlayer retry scsi_report_lun_scan() errors
This has scsi_report_lun_scan() have the SCSI midlayer retry errors instead of driving them itself. There is one behavior change where we no longer retry when scsi_execute_cmd() returns < 0, but we should be ok. We don't need to retry for failures like the queue being removed, and for the case where there are no tags/reqs the block layer waits/retries for us. For possible memory allocation failures from blk_rq_map_kern() we use GFP_NOIO, so retrying will probably not help. Signed-off-by: Mike Christie <michael.christie@oracle.com> Link: https://lore.kernel.org/r/20240123002220.129141-14-michael.christie@oracle.com Acked-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions