Commit 15e225c2 authored by Weichao Guo's avatar Weichao Guo Committed by Jaegeuk Kim
Browse files

UPSTREAM: 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.

Bug: 298174040
Signed-off-by: default avatarWeichao Guo <guoweichao@oppo.com>
Signed-off-by: default avatarChao Yu <chao@kernel.org>
[Jaegeuk Kim: Fix missing gc_mode assignment]
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
(cherry picked from commit a7d44c38)
Change-Id: I4559ec453ef1f3370d2b053515068b96710e4229
parent 925c0346
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment