]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: don't set GC_FAILURE_PIN for background GC
authorChao Yu <chao@kernel.org>
Sun, 20 Mar 2022 15:11:18 +0000 (23:11 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 25 Apr 2022 22:13:02 +0000 (15:13 -0700)
commit1a812818fb75195d5c9d45396c07ec6763529a6c
tree35d6140ea7449521f865a2c40ad0016d4fabcaf1
parent45084555ec749eafdd7df88b472b4c758df5cc0a
f2fs: don't set GC_FAILURE_PIN for background GC

So that it can reduce the possibility that file be unpinned forcely by
foreground GC due to .i_gc_failures[GC_FAILURE_PIN] exceeds threshold.

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