mbox series

[GIT,PULL,8/8] xfs: cleanups for inode rooted btree code

Message ID 172530248669.3348968.12555145296914101501.stg-ugh@frogsfrogsfrogs (mailing list archive)
State Accepted, archived
Headers show
Series [GIT,PULL,1/8] xfs: atomic file content commits | expand

Pull-request

https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git tags/btree-cleanups-6.12_2024-09-02

Message

Darrick J. Wong Sept. 2, 2024, 6:43 p.m. UTC
Hi Chandan,

Please pull this branch with changes for xfs for 6.12-rc1.

As usual, I did a test-merge with the main upstream branch as of a few
minutes ago, and didn't see any conflicts.  Please let me know if you
encounter any problems.

--D

The following changes since commit de55149b6639e903c4d06eb0474ab2c05060e61d:

xfs: fix a sloppy memory handling bug in xfs_iroot_realloc (2024-09-01 08:58:20 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git tags/btree-cleanups-6.12_2024-09-02

for you to fetch changes up to 411a71256de6f5a0015a28929cfbe6bc36c503dc:

xfs: standardize the btree maxrecs function parameters (2024-09-01 08:58:20 -0700)

----------------------------------------------------------------
xfs: cleanups for inode rooted btree code [v4.2 8/8]

This series prepares the btree code to support realtime reverse mapping btrees
by refactoring xfs_ifork_realloc to be fed a per-btree ops structure so that it
can handle multiple types of inode-rooted btrees.  It moves on to refactoring
the btree code to use the new realloc routines.

With a bit of luck, this should all go splendidly.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>

----------------------------------------------------------------
Darrick J. Wong (2):
xfs: replace shouty XFS_BM{BT,DR} macros
xfs: standardize the btree maxrecs function parameters

fs/xfs/libxfs/xfs_alloc_btree.c    |   6 +-
fs/xfs/libxfs/xfs_alloc_btree.h    |   3 +-
fs/xfs/libxfs/xfs_attr_leaf.c      |   8 +-
fs/xfs/libxfs/xfs_bmap.c           |  42 ++++----
fs/xfs/libxfs/xfs_bmap_btree.c     |  24 ++---
fs/xfs/libxfs/xfs_bmap_btree.h     | 207 +++++++++++++++++++++++++------------
fs/xfs/libxfs/xfs_ialloc.c         |   4 +-
fs/xfs/libxfs/xfs_ialloc_btree.c   |   6 +-
fs/xfs/libxfs/xfs_ialloc_btree.h   |   3 +-
fs/xfs/libxfs/xfs_inode_fork.c     |  34 +++---
fs/xfs/libxfs/xfs_refcount_btree.c |   5 +-
fs/xfs/libxfs/xfs_refcount_btree.h |   3 +-
fs/xfs/libxfs/xfs_rmap_btree.c     |   7 +-
fs/xfs/libxfs/xfs_rmap_btree.h     |   3 +-
fs/xfs/libxfs/xfs_sb.c             |  16 +--
fs/xfs/libxfs/xfs_trans_resv.c     |   2 +-
fs/xfs/scrub/bmap_repair.c         |   2 +-
fs/xfs/scrub/inode_repair.c        |  12 +--
fs/xfs/xfs_bmap_util.c             |   4 +-
19 files changed, 237 insertions(+), 154 deletions(-)