[PATCHSET v13.1 3/9] xfs: shrink struct xfs_da_args

Darrick J. Wong
2024-04-10T00:44:54Z

Hi all,

Let's clean out some unused flags and fields from struct xfs_da_args.

If you're going to start using this code, I strongly recommend pulling
from my git trees, which are linked below.

This has been running on the djcloud for months with no problems. Enjoy!
Comments and questions are, as always, welcome.

--D

kernel git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=shrink-dirattr-args

xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=shrink-dirattr-args
---
Commits in this patchset:
* xfs: remove XFS_DA_OP_REMOVE
* xfs: remove XFS_DA_OP_NOTIME
* xfs: rename xfs_da_args.attr_flags
* xfs: rearrange xfs_da_args a bit to use less space
---
fs/xfs/libxfs/xfs_attr.c | 9 ++++-----
fs/xfs/libxfs/xfs_attr.h | 1 -
fs/xfs/libxfs/xfs_da_btree.h | 30 ++++++++++++++----------------
fs/xfs/scrub/attr.c | 1 -
fs/xfs/scrub/attr_repair.c | 2 +-
fs/xfs/xfs_ioctl.c | 6 +++---
fs/xfs/xfs_trace.h | 6 +++---
fs/xfs/xfs_xattr.c | 2 +-
8 files changed, 26 insertions(+), 31 deletions(-)