diff options
| author | Jan Kara <[email protected]> | 2022-06-23 09:48:27 +0200 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-06-27 06:29:12 -0600 |
| commit | f7eda402878b12bc0884c5bc1192a9e76ad121fb (patch) | |
| tree | 93dd7989700fd8bd18b9dc98f79ffc1026d6ea55 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | e589f46445960c274cc813a1cc8e2fc73b2a1849 (diff) | |
block: Return effective IO priority from get_current_ioprio()
get_current_ioprio() is used to initialize IO priority of various
requests. As such it should be returning the effective IO priority of
the task (i.e., reflecting the fact that unset IO priority should get
set based on task's CPU priority) so that the conversion is concentrated
in one place.
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions