aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorJohannes Thumshirn <[email protected]>2020-10-07 21:35:08 +0900
committerJens Axboe <[email protected]>2020-10-07 08:22:15 -0600
commitfe6f0cdc49263ae61cd3d33399662808c2398e86 (patch)
treed53971e8ace0c8dba96ad12d5cbe3847250153da /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parenta926c7afffcc0f2e35e6acbccb16921bacf34617 (diff)
block: soft limit zone-append sectors as well
Martin rightfully noted that for normal filesystem IO we have soft limits in place, to prevent them from getting too big and not lead to unpredictable latencies. For zone append we only have the hardware limit in place. Cap the max sectors we submit via zone-append to the maximal number of sectors if the second limit is lower. Reported-by: Martin K. Petersen <[email protected]> Signed-off-by: Johannes Thumshirn <[email protected]> Reviewed-by: Damien Le Moal <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Link: https://lore.kernel.org/linux-btrfs/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions