Jaegeuk Kim c81d5bae40 f2fs: do not stop GC when requiring a free section
The f2fs_gc uses a bitmap to indicate pinned sections, but when disabling
chckpoint, we call f2fs_gc() with NULL_SEGNO which selects the same dirty
segment as a victim all the time, resulting in checkpoint=disable failure,
for example. Let's pick another one, if we fail to collect it.

Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2022-05-17 11:19:19 -07:00
..
2022-02-12 06:20:46 -08:00
2022-05-12 10:14:03 -07:00
2022-03-22 18:26:56 -07:00
2022-05-12 10:14:03 -07:00
2022-05-12 10:14:03 -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
2022-05-12 10:14:03 -07:00