UPSTREAM: f2fs: fix gc mode when gc_urgent_high_remaining is 1
Under the current logic, when gc_urgent_high_remaining is set to 1, the mode will be switched to normal at the beginning, instead of running in gc_urgent mode. Let's switch the gc mode back to normal when the gc ends. Bug: 254441685 Fixes: 26557618 ("f2fs: remove gc_urgent_high_limited for cleanup") Signed-off-by:Yangtao Li <frank.li@vivo.com> Reviewed-by:
Chao Yu <chao@kernel.org> Signed-off-by:
Jaegeuk Kim <jaegeuk@kernel.org> (cherry picked from commit 6359a1aa) Signed-off-by:
Lee Jones <joneslee@google.com> Change-Id: Ie49f73587c64a4ed8e0f4ad3ba0595c1eb5794b3
Loading
Please sign in to comment