Skip to content
Commit 1adaa71e authored by qixiaoyu1's avatar qixiaoyu1 Committed by Jaegeuk Kim
Browse files

f2fs: don't bother wait_ms by foreground gc



f2fs_gc returns -EINVAL via f2fs_balance_fs when there is enough free
secs after write checkpoint, but with gc_merge enabled, it will cause
the sleep time of gc thread to be set to no_gc_sleep_time even if there
are many dirty segments can be selected.

Signed-off-by: default avatarqixiaoyu1 <qixiaoyu1@xiaomi.com>
Reviewed-by: default avatarChao Yu <chao@kernel.org>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 0d5b9d81
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment