f2fs: add ckpt_thread_ioprio sysfs node
authorDaeho Jeong <daehojeong@google.com>
Thu, 21 Jan 2021 13:45:29 +0000 (22:45 +0900)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 3 Feb 2021 21:03:58 +0000 (13:03 -0800)
commite65920661708b7c0f3db45c9cd5d0095034ee37f
tree93a95df64ff3478f1e939e9ea8ec2202c595e303
parent261eeb9c1585de4515a770b48a3c89672c08ae7f
f2fs: add ckpt_thread_ioprio sysfs node

Added "ckpt_thread_ioprio" sysfs node to give a way to change checkpoint
merge daemon's io priority. Its default value is "be,3", which means
"BE" I/O class and I/O priority "3". We can select the class between "rt"
and "be", and set the I/O priority within valid range of it.
"," delimiter is necessary in between I/O class and priority number.

Signed-off-by: Daeho Jeong <daehojeong@google.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Documentation/ABI/testing/sysfs-fs-f2fs
fs/f2fs/checkpoint.c
fs/f2fs/f2fs.h
fs/f2fs/sysfs.c