Re: [f2fs-dev] [PATCH v7 07/11] f2fs: describe xattr block layout dynamically

From: Xinping Zhang

Date: Tue Sep 01 2026 - 12:40:59 EST


Thanks. I have consolidated the two macros into
MAX_INLINE_XATTR_SIZE(blocksize).

For f2fs_parse_param(), I kept F2FS_MAX_BLKSIZE rather than
F2FS_MIN_BLKSIZE because the on-disk block size is not known at that
stage. Using the minimum would incorrectly reject an inline xattr size
that is valid for a 16K-block filesystem. f2fs_check_opt_consistency()
later applies the limit for the actual sbi->blocksize.

Thanks,
Kelvin