]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: use aggressive GC policy during f2fs_disable_checkpoint()
authorChao Yu <chao@kernel.org>
Fri, 18 Mar 2022 09:02:30 +0000 (17:02 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 18 Mar 2022 16:13:02 +0000 (09:13 -0700)
commit98e92867b99761979f6d4c155b7d5a5b523412a3
tree3af8cbdbf8e32a7c7c52aabd7d577719d1330dd6
parent9b56adcf525522e9ffa52471260298d91fc1d395
f2fs: use aggressive GC policy during f2fs_disable_checkpoint()

Let's enable GC_URGENT_HIGH mode during f2fs_disable_checkpoint(),
so that we can use SSR allocator for GCed data/node persistence,
it can improve the performance due to it avoiding migration of
data/node locates in selected target segment of SSR allocator.

Signed-off-by: Chao Yu <chao.yu@oppo.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c