** Changes since rfc v1 [1] ** 1. Allocations beyond EOF also respect extsize hint however we unlink XFS, we don't trim the blocks allocated beyond EOF due to extsize hints. The reasoning behind this is explained in patch 6/6. 2. Minor fixes in extsize ioctl handling logic. Rest of the design detials can be in individual patches as well as the original cover leter which can be found here: [1] https://lore.kernel.org/linux-ext4/cover.1726034272.git.ojaswin@xxxxxxxxxxxxx/ Further, xfsprogs changes to enable extsize get/set for ext4 can be found here: https://lore.kernel.org/linux-ext4/cover.1733902742.git.ojaswin@xxxxxxxxxxxxx/T/#t Comments and suggestions are welcome! Regards, ojaswin Ojaswin Mujoo (6): ext4: add aligned allocation hint in mballoc ext4: allow inode preallocation for aligned alloc ext4: support for extsize hint using FS_IOC_FS(GET/SET)XATTR ext4: pass lblk and len explicitly to ext4_split_extent*() ext4: add extsize hint support ext4: make extsize work with EOF allocations fs/ext4/ext4.h | 12 +- fs/ext4/ext4_jbd2.h | 15 ++ fs/ext4/extents.c | 224 +++++++++++++++---- fs/ext4/inode.c | 435 ++++++++++++++++++++++++++++++++---- fs/ext4/ioctl.c | 122 ++++++++++ fs/ext4/mballoc.c | 126 +++++++++-- fs/ext4/super.c | 1 + include/trace/events/ext4.h | 2 + 8 files changed, 836 insertions(+), 101 deletions(-) -- 2.43.5