aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/compaction-times.py
diff options
context:
space:
mode:
authorKeith Busch <[email protected]>2023-03-31 18:00:56 +0000
committerJens Axboe <[email protected]>2023-04-04 22:11:47 +0000
commit38a8c4d1d45006841f0643f4cb29b5e50758837c (patch)
tree05cfa4ff5174c7d5297aadbe11699f8266778deb /tools/perf/scripts/python/compaction-times.py
parentMerge tag 'md-fixes-2023-03-29' of https://git.kernel.org/pub/scm/linux/kerne... (diff)
downloadkernel-38a8c4d1d45006841f0643f4cb29b5e50758837c.tar.gz
kernel-38a8c4d1d45006841f0643f4cb29b5e50758837c.zip
blk-mq: directly poll requests
Polling needs a bio with a valid bi_bdev, but neither of those are guaranteed for polled driver requests. Make request based polling directly use blk-mq's polling function instead. When executing a request from a polled hctx, we know the request's cookie, and that it's from a live blk-mq queue that supports polling, so we can safely skip everything that bio_poll provides. Cc: [email protected] Reported-by: Martin Belanger <[email protected]> Reported-by: Daniel Wagner <[email protected]> Signed-off-by: Keith Busch <[email protected]> Tested-by: Daniel Wagner <[email protected]> Revieded-by: Daniel Wagner <[email protected]> Reviewed-by: Chaitanya Kulkarni <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Tested-by: Shin'ichiro Kawasaki <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions