aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2018-08-23 15:34:46 +0000
committerJens Axboe <[email protected]>2018-08-23 15:34:46 +0000
commitc125311d96b1bfcce0f5930a4f0fdfe39ea14f7c (patch)
tree64bef9e91ac97c6c1d4fbd39b6f259b08ddc1670 /tools/perf/scripts/python/Perf-Trace-Util/lib
parentblk-wbt: fix has-sleeper queueing check (diff)
downloadkernel-c125311d96b1bfcce0f5930a4f0fdfe39ea14f7c.tar.gz
kernel-c125311d96b1bfcce0f5930a4f0fdfe39ea14f7c.zip
blk-wbt: don't maintain inflight counts if disabled
A previous commit removed the ability to have per-rq flags. We used those flags to maintain inflight counts. Since we don't have those anymore, we have to always maintain inflight counts, even if wbt is disabled. This is clearly suboptimal. Add a queue quiesce around changing the wbt latency settings from sysfs to work around this. With that, we can reliably put the enabled check in our bio_to_wbt_flags(), since we know the WBT_TRACKED flag will be consistent for the lifetime of the request. Fixes: c1c80384c8f ("block: remove external dependency on wbt_flags") Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions