Commit fe630a04 authored by Rui Chen's avatar Rui Chen Committed by Treehugger Robot
Browse files

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: default avatarChao Yu <chao@kernel.org>
Reviewed-by: default avatarwangzijie <wangzijie1@honor.com>
Signed-off-by: default avatarJaegeuk 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: default avatarRui Chen <chenrui9@honor.com>
(cherry picked from commit 12727f8a)
parent 615449fb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment