diff options
| author | Jan Kara <[email protected]> | 2022-06-23 09:48:28 +0200 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-06-27 06:29:12 -0600 |
| commit | 893e5d32d5832674bcf6465f27958e883b72b346 (patch) | |
| tree | 4b20c6a89835a6ffca1f5af19703a90622b3ec46 /tools/perf/scripts/python | |
| parent | f7eda402878b12bc0884c5bc1192a9e76ad121fb (diff) | |
block: Generalize get_current_ioprio() for any task
get_current_ioprio() operates only on current task. We will need the
same functionality for other tasks as well. Generalize
get_current_ioprio() for that and also move the bulk out of the header
file because it is large enough.
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