mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
f2fs: fix gc mode when gc_urgent_high_remaining is 1
[ Upstream commit6359a1aaca] 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. Fixes:265576181b("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
ae6c960a82
commit
7e7db55d1e
1 changed files with 9 additions and 10 deletions
19
fs/f2fs/gc.c
19
fs/f2fs/gc.c
Loading…
Add table
Add a link
Reference in a new issue