[PATCHSET v24.0 0/8] xfs: variable and naming cleanups for intent items

Darrick J. Wong
2022-12-30T22:24:11Z

Hi all,

Before we start changing how the deferred intent items work, let us
first cut down on the repeated boxing and unboxing of intent item
parameters, and tidy up the variable naming to be consistent between
types.

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=intents-naming-cleanups

xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=intents-naming-cleanups
---
fs/xfs/libxfs/xfs_alloc.c | 32 +++++----
fs/xfs/libxfs/xfs_bmap.c | 32 ++++-----
fs/xfs/libxfs/xfs_bmap.h | 5 -
fs/xfs/libxfs/xfs_refcount.c | 96 +++++++++++++---------------
fs/xfs/libxfs/xfs_refcount.h | 4 -
fs/xfs/libxfs/xfs_rmap.c | 52 +++++++--------
fs/xfs/libxfs/xfs_rmap.h | 6 +-
fs/xfs/xfs_bmap_item.c | 137 +++++++++++++++++------------------------
fs/xfs/xfs_extfree_item.c | 99 +++++++++++++++--------------
fs/xfs/xfs_refcount_item.c | 110 +++++++++++++++------------------
fs/xfs/xfs_rmap_item.c | 142 ++++++++++++++++++++----------------------
fs/xfs/xfs_trace.h | 15 +---
12 files changed, 335 insertions(+), 395 deletions(-)