diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-11-15 02:38:35 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-11-25 19:15:57 +0100 |
commit | 7702bdbe505a22380dd958e2ee35124c7c414806 (patch) | |
tree | 8dc084fff9df8d1330389b877514977b7eb97ecf /fs/f2fs/debug.c | |
parent | f2fs: fix redundant block allocation (diff) | |
download | linux-7702bdbe505a22380dd958e2ee35124c7c414806.tar.xz linux-7702bdbe505a22380dd958e2ee35124c7c414806.zip |
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: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/debug.c')
0 files changed, 0 insertions, 0 deletions