Weichao Guo 2880f47b94 f2fs: skip GC if possible when checkpoint disabling
If the number of unusable blocks is not larger than
unusable capacity, we can skip GC when checkpoint
disabling.

Signed-off-by: Weichao Guo <guoweichao@oppo.com>
Signed-off-by: Chao Yu <chao@kernel.org>
[Jaegeuk Kim: Fix missing gc_mode assignment]
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2022-05-09 09:30:38 -07:00
..
2022-02-12 06:20:46 -08:00
2022-03-22 18:26:56 -07:00
2022-03-17 09:16:22 -07:00
2022-03-22 10:00:31 -07:00
2021-03-30 18:48:56 -07:00
2021-12-10 15:48:30 -08:00
2021-08-23 10:25:51 -07:00
2022-03-22 10:00:31 -07:00
2022-03-22 10:00:31 -07:00