]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: skip GC if possible when checkpoint disabling
authorWeichao Guo <guoweichao@oppo.com>
Fri, 6 May 2022 16:28:14 +0000 (00:28 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 9 May 2022 16:30:38 +0000 (09:30 -0700)
commitd8c437072b986f6d158b9b45641f6e161d4a246c
tree40d9a66aedc9e4e939044cda2be89116f26400aa
parent76a6edf34dd191c0f500e807434f857da4768668
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>
fs/f2fs/super.c