]> git.ipfire.org Git - people/ms/linux.git/commit - fs/f2fs/gc.c
f2fs: add gc_urgent_high_remaining sysfs node
authorDaeho Jeong <daehojeong@google.com>
Thu, 9 Dec 2021 00:41:51 +0000 (16:41 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 10 Dec 2021 23:48:33 +0000 (15:48 -0800)
commit325163e9892b627fc9fb1af51e51f0f95dded517
treed2a60da55a411960f13c7a0aed39e4b87a05fb52
parent77900c45ee5cd5da63bd4d818a41dbdf367e81cd
f2fs: add gc_urgent_high_remaining sysfs node

Added a new sysfs node called gc_urgent_high_remaining. The user can
set the trial count limit for GC urgent high mode with this value. If
GC thread gets to the limit, the mode will turn back to GC normal mode.
By default, the value is zero, which means there is no limit like before.

Signed-off-by: Daeho Jeong <daehojeong@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Documentation/ABI/testing/sysfs-fs-f2fs
fs/f2fs/f2fs.h
fs/f2fs/gc.c
fs/f2fs/super.c
fs/f2fs/sysfs.c