diff options
author | 2025-03-03 22:16:21 +0000 | |
---|---|---|
committer | 2025-03-05 14:37:26 +0000 | |
commit | 8a2d9f00d502e6ef68c6d52f0863856040ddd2db (patch) | |
tree | 4235fa4f6086162bf8c5bb5a0a707ef708ca11af | |
parent | mm: Remove wait_on_page_locked() (diff) | |
download | wireguard-linux-8a2d9f00d502e6ef68c6d52f0863856040ddd2db.tar.xz wireguard-linux-8a2d9f00d502e6ef68c6d52f0863856040ddd2db.zip |
f2fs: set highest IO priority for checkpoint thread
The checkpoint is the top priority thread which can stop all the filesystem
operations. Let's make it RT priority.
Reviewed-by: Daeho Jeong <daehojeong@google.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | fs/f2fs/checkpoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c index 75b7196d2c81..a35595f8d3f5 100644 --- a/fs/f2fs/checkpoint.c +++ b/fs/f2fs/checkpoint.c @@ -21,7 +21,7 @@ #include "iostat.h" #include <trace/events/f2fs.h> -#define DEFAULT_CHECKPOINT_IOPRIO (IOPRIO_PRIO_VALUE(IOPRIO_CLASS_BE, 3)) +#define DEFAULT_CHECKPOINT_IOPRIO (IOPRIO_PRIO_VALUE(IOPRIO_CLASS_RT, 3)) static struct kmem_cache *ino_entry_slab; struct kmem_cache *f2fs_inode_entry_slab; |