[PATCH 0/3] xfs_io: enable extsize and stat -v support for ext4
From: Ojaswin Mujoo
Date: Sun Dec 15 2024 - 04:17:56 EST
Changes since rfc [1]
* Patch 1: Don't add ext4 specific checks
* Patch 2: Rather than adding a check for ext4, allow FS_IOC_GETXATTR
to be called by any FS that supports it.
[1]
https://lore.kernel.org/linux-ext4/cover.1733902742.git.ojaswin@xxxxxxxxxxxxx/T/#t
** Original Cover **
With ext4 extsize hints support being worked on, enable extsize
command to be run on FSes other than xfs so ext4 can utilize it.
Also extend stat -v to perform FS_IOC_FSGETXATTR ioctl on ext4.
No funtional changes are intended for XFS.
Ojaswin Mujoo (3):
include/linux.h: use linux/magic.h to get XFS_SUPER_MAGIC
xfs_io: allow foreign FSes to show FS_IOC_FSGETXATTR details
xfs_io: add extsize command support
include/linux.h | 3 ++-
io/open.c | 2 +-
io/stat.c | 63 ++++++++++++++++++++++++++++---------------------
3 files changed, 39 insertions(+), 29 deletions(-)
--
2.43.5