UPSTREAM: 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> (cherry picked from commit 8a2d9f00d502e6ef68c6d52f0863856040ddd2db) Change-Id: I7ab430a7294fa9644512f0a32245646944446213 Signed-off-by: zhaoyuenan <amktiao030215@gmail.com>
This commit is contained in:
committed by
Bruno Martins
parent
b3608a1d37
commit
711041fe72
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user