Jaegeuk Kim 7702bdbe50 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>
2016-11-25 10:15:57 -08:00
..
2016-09-14 16:52:36 -07:00
2016-11-25 10:15:50 -08:00
2016-11-23 12:11:12 -08:00
2016-11-25 10:15:57 -08:00
2016-11-25 10:15:57 -08:00
2016-11-25 10:15:57 -08:00
2016-11-23 12:11:00 -08:00
2016-11-25 10:15:57 -08:00
2016-11-25 10:15:13 -08:00
2016-06-07 13:41:38 -06:00