]> 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)
commit5d801c566bef14a77ed517f0eb54b7d277b15a25
treee59f6eace64116566839dc17e5104ce2a650719a
parentc095751b2720b606968c45ed82c0f68bce9fd0a0
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