Skip to content

xfsprogs: FS_IOC_FS[SG]ETXATTR and DAX support

Dave Chinner linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3xfs_fs.h: XFS_IOC_FS[SG]SETXATTR to FS_IOC_FS[SG]ETXATTR promotionfsr/xfs_fsr.c include/darwin.h include/freebsd.h +12 more+234 -1151 reply
2/3xfs: introduce per-inode DAX enablementlibxfs/xfs_format.h+9 -01 reply
3/3xfs_io: add support for changing the new inode DAX attributeinclude/darwin.h include/freebsd.h include/irix.h +2 more+8 -12 replies

Reviews trailers per patch

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

PatchEric SandeenRoss Zwisler
1/3R-b
2/3R-b
3/3R-b T-b

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

Read the v1 thread

Cover letter [PATCH 0/3] xfsprogs: FS_IOC_FS[SG]ETXATTR and DAX support

Hi folks,

There are two parts to this patchset. The first is ensuring that xfsprogs builds correctly with the new kernel header provided definitions of XFS_IOC_FS[SG]SETXATTR and it's flags. I modified my original approach to this to hide the definitions of the FS* ioctl and flags in the platofrm headers if the system didn't provide them.

While this does result in some duplication, it solves the problem of needing different definitions for FS_IOC_FS[SG]ETXATTR on different platforms - they are different ioctl names on IRIX, so we can't just define it once in xfs_fs.h. The detection can also then be different
- we only include the definitions on linux if we don't have the system version, and on the other platforms it retains the HAVE_FSXATTR guards.

The second and third patches are adding support for the FS_XFLAG_DAX and enabling xfs_io to set, get and clear the flag. Actual support of the on disk flag in libxfs will come in a later patchset that adds support into db and repair, too. This is the patchset I used to test the kernel side flag support.

Comments and testing welcome.

Cheers,

Dave.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs