diff options
author | Zhiguo Niu <zhiguo.niu@unisoc.com> | 2024-06-03 19:35:26 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2024-06-12 15:46:03 +0000 |
commit | 270b09313b4e16cdfd01d8371023a1661dd1112e (patch) | |
tree | 3dbb9ab232bdfef0cbe8f2d0c6444129f2f6a1b9 /tools/perf/scripts/python/stackcollapse.py | |
parent | 192b8fb8d1c8ca3c87366ebbef599fa80bb626b8 (diff) |
f2fs: use new ioprio Macro to get ckpt thread ioprio level
IOPRIO_PRIO_DATA in the new kernel version includes level and hint,
So Macro IOPRIO_PRIO_LEVEL is more accurate to get ckpt thread
ioprio data/level, and it is also consisten with the way setting
ckpt thread ioprio by IOPRIO_PRIO_VALUE(class, data/level).
Besides, change variable name from "data" to "level" for more readable.
Signed-off-by: Zhiguo Niu <zhiguo.niu@unisoc.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions