diff options
| author | 2026-09-03 16:56:23 -0700 | |
|---|---|---|
| committer | 2026-09-14 15:21:48 +0000 | |
| commit | 3f72f38444551f99aedac2fd0a9b05167b131a13 (patch) | |
| tree | 9b02493745044124a28ea24ebc26e28d4d64581c /scripts/Makefile.thinlto | |
| parent | f2fs: describe node tree geometry dynamically (diff) | |
f2fs: parameterize block size and mask macros
Block size constants, shift counts, masks, and page-to-block ratios were
globally defined assuming a fixed 4KB block size.
Parameterize F2FS_BLKSIZE, F2FS_BLKSIZE_BITS, F2FS_BLKSIZE_MASK,
F2FS_BLKS_PER_PAGE, and CP_CHKSUM_OFFSET with struct f2fs_sb_info *sbi
to reference sbi->blocksize, sbi->log_blocksize, and runtime masks.
Update call sites across metadata operations, data I/O, file operations,
garbage collection, inline data, and sysfs information.
Signed-off-by: Kelvin Zhang <zhangxp1998@gmail.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
