We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10dcaa5 commit 956b81bCopy full SHA for 956b81b
fs/f2fs/gc.h
@@ -194,6 +194,7 @@ static inline bool has_enough_invalid_blocks(struct f2fs_sb_info *sbi)
194
static inline bool need_to_boost_gc(struct f2fs_sb_info *sbi)
195
{
196
if (f2fs_sb_has_blkzoned(sbi))
197
- return !has_enough_free_blocks(sbi, LIMIT_BOOST_ZONED_GC);
+ return !has_enough_free_blocks(sbi,
198
+ sbi->gc_thread->boost_zoned_gc_percent);
199
return has_enough_invalid_blocks(sbi);
200
}
0 commit comments