Commit 8c9ffe67 authored by Daeho Jeong's avatar Daeho Jeong Committed by Matthias Männich
Browse files

UPSTREAM: f2fs: add valid block ratio not to do excessive GC for one time GC



We need to introduce a valid block ratio threshold not to trigger
excessive GC for zoned deivces. The initial value of it is 95%. So, F2FS
will stop the thread from intiating GC for sections having valid blocks
exceeding the ratio.

Change-Id: I279b53971a604c3270beb05b91fed69e5c0e8ff0
Signed-off-by: default avatarDaeho Jeong <daehojeong@google.com>
Reviewed-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
(cherry picked from commit e791d00b)
parent 9e1830d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment