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 /scripts/generate_rust_analyzer.py | |
| parent | f2fs: fix to don't dirty inode for readonly filesystem (diff) | |
| download | linux-270b09313b4e16cdfd01d8371023a1661dd1112e.tar.gz linux-270b09313b4e16cdfd01d8371023a1661dd1112e.zip | |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions
