mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
f2fs: fix to check upper boundary for gc_valid_thresh_ratio
[ Upstream commit7a96d1d73c] This patch adds missing upper boundary check while setting gc_valid_thresh_ratio via sysfs. Fixes:e791d00bd0("f2fs: add valid block ratio not to do excessive GC for one time GC") Cc: Daeho Jeong <daehojeong@google.com> Signed-off-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
46f24b1fbf
commit
1f1efc1113
1 changed files with 7 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue