[PATCHSET v24.0 0/1] xfs: pass perag references around when possible

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

Hi all,

Avoid the cost of perag radix tree lookups by passing around active perag
references when possible.

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=pass-perag-refs

xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=pass-perag-refs
---
fs/xfs/libxfs/xfs_ag.c | 15 +++++++++++++++
fs/xfs/libxfs/xfs_ag.h | 1 +
fs/xfs/libxfs/xfs_alloc_btree.c | 4 +---
fs/xfs/libxfs/xfs_ialloc_btree.c | 4 +---
fs/xfs/libxfs/xfs_refcount_btree.c | 5 +----
fs/xfs/libxfs/xfs_rmap_btree.c | 5 +----
fs/xfs/xfs_iunlink_item.c | 4 +---
fs/xfs/xfs_iwalk.c | 3 +--
fs/xfs/xfs_trace.h | 1 +
9 files changed, 23 insertions(+), 19 deletions(-)