]> git.ipfire.org Git - people/ms/linux.git/commit - fs/f2fs/gc.c
f2fs: adjust zone capacity when considering valid block count
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 28 Jun 2022 18:03:57 +0000 (11:03 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sun, 31 Jul 2022 03:16:20 +0000 (20:16 -0700)
commit074b5ea2900ea8e40f8e7a3fd37e0a55ad3d5874
treec16bb9fa8956d53391c579ac33d608a102d2c8ee
parentb771aadc6e4c221a468fe4a2dfcfffec01a06722
f2fs: adjust zone capacity when considering valid block count

This patch fixes counting unusable blocks set by zone capacity when
checking the valid block count in a section.

Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/debug.c
fs/f2fs/file.c
fs/f2fs/gc.c
fs/f2fs/segment.c
fs/f2fs/segment.h