xfsprogs: Enable extent forcealign feature
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | xfs: create a new inode flag to require extsize alignment of file data spaceinclude/ include/ include/ +5 more | +65 | 0 replies | |
| 2/7 | xfs: allow files to require data mappings to be aligned to extszhintlibxfs/ | +21 | 0 replies | |
| 3/7 | xfs_db: expose force_align feature and flagsdb/ db/ | +5 | 0 replies | |
| 4/7 | xfs_io: implement lsattr and chattr support for forcealignio/ man/ | +10 | 0 replies | |
| 5/7 | xfs_repair: check the force-align flagrepair/ | +66 | 0 replies | |
| 6/7 | mkfs: add an extsize= option that allows unitsman/ mkfs/ | +61 | 0 replies | |
| 7/7 | mkfs: enable the new force-align featurelibxfs/ man/ mkfs/ | +139 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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