]> git.ipfire.org Git - thirdparty/linux.git/commit
f2fs: revert summary entry count from 2048 to 512 in 16kb block support
authorDaeho Jeong <daehojeong@google.com>
Tue, 11 Nov 2025 17:52:46 +0000 (09:52 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 4 Dec 2025 02:00:04 +0000 (02:00 +0000)
commit7ee8bc3942f20964ad730871b885688ea3a2961a
tree2f03cca81a91ce6afd7e83eafb4f1588185238ff
parent68d05693f8c031257a0822464366e1c2a239a512
f2fs: revert summary entry count from 2048 to 512 in 16kb block support

The recent increase in the number of Segment Summary Area (SSA) entries
from 512 to 2048 was an unintentional change in logic of 16kb block
support. This commit corrects the issue.

To better utilize the space available from the erroneous 2048-entry
calculation, we are implementing a solution to share the currently
unused SSA space with neighboring segments. This enhances overall
SSA utilization without impacting the established 8MB segment size.

Fixes: d7e9a9037de2 ("f2fs: Support Block Size == Page Size")
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h
fs/f2fs/gc.c
fs/f2fs/recovery.c
fs/f2fs/segment.c
fs/f2fs/segment.h
fs/f2fs/super.c
fs/f2fs/sysfs.c
include/linux/f2fs_fs.h