]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: write checkpoint during FG_GC
authorByungki Lee <dominicus79@gmail.com>
Fri, 29 Apr 2022 20:29:53 +0000 (13:29 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 6 May 2022 17:18:12 +0000 (10:18 -0700)
commit3f42a33a1f09f129bbe3986f031aa6f4c243b5c0
treee59f6eace64116566839dc17e5104ce2a650719a
parent42514af523e1f56d007f76d8c016b90f9ddcc939
f2fs: write checkpoint during FG_GC

If there's not enough free sections each of which consistis of large segments,
we can hit no free section for upcoming section allocation. Let's reclaim some
prefree segments by writing checkpoints.

Signed-off-by: Byungki Lee <dominicus79@gmail.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/gc.c