aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorJohn Garry <[email protected]>2022-07-14 19:15:26 +0800
committerChristoph Hellwig <[email protected]>2022-07-19 06:05:47 +0200
commitbb7d1283e6280acdfe0faf10e8b6ebd1f5970fed (patch)
treea88892c614aae0e977799e418242fdbb56e67843 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent6d9870b7e5def2450e21316515b9efc0529204dd (diff)
scsi: core: cap shost max_sectors according to DMA limits only once
The shost->max_sectors is repeatedly capped according to the host DMA mapping limit for each sdev in __scsi_init_queue(). This is unnecessary, so set only once when adding the host. Signed-off-by: John Garry <[email protected]> Reviewed-by: Damien Le Moal <[email protected]> Acked-by: Martin K. Petersen <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions