Commit 59c1c89e authored by Chao Yu's avatar Chao Yu Committed by Jaegeuk Kim
Browse files

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: default avatarChao Yu <chao@kernel.org>
Reviewed-by: default avatarwangzijie <wangzijie1@honor.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 90d5c9ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment