Skip to content

xfs_io: enable extsize and stat -v support for ext4

Ojaswin Mujoo linux-ext4 linux-fsdevel linux-xfs lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesIn review
  2. v13 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3include/linux.h: use linux/magic.h to get XFS_SUPER_MAGICinclude/linux.h+2 -11 reply
2/3xfs_io: allow foreign FSes to show FS_IOC_FSGETXATTR detailsio/stat.c+36 -271 reply
3/3xfs_io: add extsize command supportio/open.c+1 -11 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchChristoph HellwigDarrick J. Wong
1/3R-b R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] xfs_io: enable extsize and stat -v support for ext4

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/[email protected]/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(-)
Signature · 1 line
2.43.5