Skip to content

xfsprogs: Enable extent forcealign feature

John Garry linux-xfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7xfs: create a new inode flag to require extsize alignment of file data spaceinclude/linux.h include/xfs_inode.h include/xfs_mount.h +5 more+65 -10 replies
2/7xfs: allow files to require data mappings to be aligned to extszhintlibxfs/xfs_bmap.c+21 -50 replies
3/7xfs_db: expose force_align feature and flagsdb/inode.c db/sb.c+5 -00 replies
4/7xfs_io: implement lsattr and chattr support for forcealignio/attr.c man/man2/ioctl_xfs_fsgetxattr.2+10 -10 replies
5/7xfs_repair: check the force-align flagrepair/dinode.c+66 -00 replies
6/7mkfs: add an extsize= option that allows unitsman/man8/mkfs.xfs.8.in mkfs/xfs_mkfs.c+61 -20 replies
7/7mkfs: enable the new force-align featurelibxfs/xfs_format.h man/man8/mkfs.xfs.8.in mkfs/xfs_mkfs.c+139 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] xfsprogs: Enable extent forcealign feature

This series enables a new feature to always honour the extent size hint.

It is required for atomic writes support.

It is possible to enable this feature at mkfs time or by changing the attribute of regular file or directory. For extszhint, it is inherited by descenent files/directories.

Associated kernel atomic writes patches to follow. We are sending this support now so that people can try out the kernel support. More testing is required.

Based on origin/for-next_2023-09-25

Darrick J. Wong (7):
xfs: create a new inode flag to require extsize alignment of file data
space
xfs: allow files to require data mappings to be aligned to extszhint
xfs_db: expose force_align feature and flags
xfs_io: implement lsattr and chattr support for forcealign
xfs_repair: check the force-align flag
mkfs: add an extsize= option that allows units
mkfs: enable the new force-align feature

 db/inode.c                      |   3 +
 db/sb.c                         |   2 +
 include/linux.h                 |   5 +
 include/xfs_inode.h             |   5 +
 include/xfs_mount.h             |   2 +
 io/attr.c                       |   5 +-
 libxfs/util.c                   |   2 +
 libxfs/xfs_bmap.c               |  26 ++++-
 libxfs/xfs_format.h             |   9 +-
 libxfs/xfs_inode_buf.c          |  40 ++++++++
 libxfs/xfs_inode_buf.h          |   3 +
 libxfs/xfs_sb.c                 |   3 +
 man/man2/ioctl_xfs_fsgetxattr.2 |   6 ++
 man/man8/mkfs.xfs.8.in          |  29 ++++++
 mkfs/xfs_mkfs.c                 | 175 ++++++++++++++++++++++++++++++--
 repair/dinode.c                 |  66 ++++++++++++
 16 files changed, 367 insertions(+), 14 deletions(-)
Signature · 1 line
2.34.1