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: 305802889 Bug: 278486610 Bug: 298174040 Bug: 298713074 Signed-off-by:Weichao Guo <guoweichao@oppo.com> Signed-off-by:
Chao Yu <chao@kernel.org> [Jaegeuk Kim: Fix missing gc_mode assignment] Signed-off-by:
Jaegeuk Kim <jaegeuk@kernel.org> (cherry picked from commit a7d44c38) (cherry picked from https://android-review.googlesource.com/q/commit:bc5f8489c99363b2943f624550a38bb906726edd) Merged-In: I4559ec453ef1f3370d2b053515068b96710e4229 Change-Id: I4559ec453ef1f3370d2b053515068b96710e4229
Loading
Please sign in to comment