f2fs: apply zone capacity to all zone type
stable inclusion from stable-v5.10.180 commit d11a74577c21cf6dc1db65b6178ef3d03953ccf0 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8DDFN Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d11a74577c21cf6dc1db65b6178ef3d03953ccf0 -------------------------------- [ Upstream commit 0b37ed21 ] If we manage the zone capacity per zone type, it'll break the GC assumption. And, the current logic complains valid block count mismatch. Let's apply zone capacity to all zone type, if specified. Fixes: de881df9 ("f2fs: support zone capacity less than zone size") Reviewed-by:Chao Yu <chao@kernel.org> Signed-off-by:
Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment