[PATCHSET v2 0/7] xfs: cleanups for logged xattr updates

Darrick J. Wong
2022-05-18T18:55:51Z

Hi all,

Here are a bunch of cleanups to the logged xattr code to use slab caches
for better memory efficiency, reduce the size of the attr intent
tracking structure, fix some wonkinessin the attri/attrd cache
constructors, and give things more appropriate names.

v2: add RVB tags, rebase off of the other fixes

If you're going to start using this mess, you probably ought to just
pull from my git trees, which are linked below.

This is an extraordinary way to destroy everything. 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=attr-intent-cleanups-5.19
---
fs/xfs/libxfs/xfs_attr.c | 172 +++++++++++++++++----------------------
fs/xfs/libxfs/xfs_attr.h | 54 +++++-------
fs/xfs/libxfs/xfs_attr_remote.c | 6 +
fs/xfs/libxfs/xfs_attr_remote.h | 6 +
fs/xfs/libxfs/xfs_da_btree.c | 11 ++
fs/xfs/libxfs/xfs_da_btree.h | 1
fs/xfs/libxfs/xfs_defer.c | 8 --
fs/xfs/libxfs/xfs_log_format.h | 8 +-
fs/xfs/xfs_attr_item.c | 54 +++++++-----
fs/xfs/xfs_attr_item.h | 9 +-
fs/xfs/xfs_super.c | 19 ++++
11 files changed, 177 insertions(+), 171 deletions(-)