[PATCH v2 0/3] xfs_io: enable extsize and stat -v support for ext4
From: Ojaswin Mujoo
Date: Thu Dec 19 2024 - 07:40:40 EST
Changes since patch v1 [2]
* Patch 1:
- Remove extra brackets
- RVB from Christoph
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.
** 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.
[1]
https://lore.kernel.org/linux-ext4/cover.1733902742.git.ojaswin@xxxxxxxxxxxxx/T/#t
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