Commit 467192df authored by Chao Yu's avatar Chao Yu Committed by Zheng Zengkai
Browse files

f2fs: don't set GC_FAILURE_PIN for background GC

stable inclusion
from stable-v5.10.137
commit d0311057395b6bc8eed0157dbd75157758f55a04
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I60PLB

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d0311057395b6bc8eed0157dbd75157758f55a04



--------------------------------

[ Upstream commit 642c0969 ]

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: default avatarChao Yu <chao.yu@oppo.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Reviewed-by: default avatarWei Li <liwei391@huawei.com>
parent 3e5e0655
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment