]> 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)
commit8d516a48dd3424c7eefeed50d700991acf2d39fe
tree3af8cbdbf8e32a7c7c52aabd7d577719d1330dd6
parentf0df7f002e796644de04a591d4c43d2d818827b4
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