FROMGIT: f2fs: introduce reserved_pin_section sysfs entry
This patch introduces /sys/fs/f2fs/<dev>/reserved_pin_section for tuning @needed parameter of has_not_enough_free_secs(), if we configure it w/ zero, it can avoid f2fs_gc() as much as possible while fallocating on pinned file. Signed-off-by:Chao Yu <chao@kernel.org> Reviewed-by:
wangzijie <wangzijie1@honor.com> Signed-off-by:
Jaegeuk Kim <jaegeuk@kernel.org> Bug: 428889879 Bug: 431132476 (cherry picked from commit 59c1c89e https: //git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git dev) Link: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git/commit/?id=59c1c89e9ba8 Change-Id: I07184caa6e5037d45258474dcca8adf1836b0f2d Signed-off-by:
Rui Chen <chenrui9@honor.com> (cherry picked from commit 12727f8a)
Loading
Please sign in to comment