aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2022-06-23 09:48:34 +0200
committerJens Axboe <[email protected]>2022-06-27 06:29:12 -0600
commita78418e6a04c93b9ffd3f0f601c5cb10612acb7f (patch)
tree16e66d891f33546c59e318c9d7f7052fa5e18f47 /tools/perf/scripts/python
parent9c6227e04355a430aa59709bbf869d9126112d0d (diff)
block: Always initialize bio IO priority on submit
Currently, IO priority set in task's IO context is not reflected in the bio->bi_ioprio for most IO (only io_uring and direct IO set it). This results in odd results where process is submitting some bios with one priority and other bios with a different (unset) priority and due to differing priorities bios cannot be merged. Make sure bio->bi_ioprio is always set on bio submission. Reviewed-by: Damien Le Moal <[email protected]> Tested-by: Damien Le Moal <[email protected]> Signed-off-by: Jan Kara <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions