Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7702bdbe authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

f2fs: avoid BG_GC in f2fs_balance_fs



If many threads hit has_not_enough_free_secs() in f2fs_balance_fs() at the same
time, all the threads would do FG_GC or BG_GC.
In this critical path, we totally don't need to do BG_GC at all.
Let's avoid that.

Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent c040ff9d
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