mbox series

[GIT,PULL,5/6] xfs: refactor rtbitmap/summary accessors

Message ID 169781768277.780878.125720495778403014.stg-ugh@frogsfrogsfrogs (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL,1/6] xfs: minor bugfixes for rt stuff | expand

Pull-request

https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git tags/refactor-rtbitmap-accessors-6.7_2023-10-19

Message

Darrick J. Wong Oct. 20, 2023, 10:17 p.m. UTC
Hi Chandan,

Please pull this branch with changes for xfs for 6.7-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 d0448fe76ac1a9ccbce574577a4c82246d17eec4:

xfs: create helpers for rtbitmap block/wordcount computations (2023-10-18 10:58:58 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git tags/refactor-rtbitmap-accessors-6.7_2023-10-19

for you to fetch changes up to 663b8db7b0256b81152b2f786e45ecf12bdf265f:

xfs: use accessor functions for summary info words (2023-10-18 16:53:00 -0700)

----------------------------------------------------------------
xfs: refactor rtbitmap/summary accessors [v1.2]

Since the rtbitmap and rtsummary accessor functions have proven more
controversial than the rest of the macro refactoring, split the patchset
into two to make review easier.

v1.1: various cleanups suggested by hch
v1.2: rework the accessor functions to reduce the amount of cursor
tracking required, and create explicit bitmap/summary logging
functions

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

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

----------------------------------------------------------------
Darrick J. Wong (4):
xfs: create a helper to handle logging parts of rt bitmap/summary blocks
xfs: use accessor functions for bitmap words
xfs: create helpers for rtsummary block/wordcount computations
xfs: use accessor functions for summary info words

fs/xfs/libxfs/xfs_format.h   |  16 ++++
fs/xfs/libxfs/xfs_rtbitmap.c | 206 +++++++++++++++++++++++--------------------
fs/xfs/libxfs/xfs_rtbitmap.h |  62 ++++++++++++-
fs/xfs/scrub/rtsummary.c     |  32 ++++---
fs/xfs/scrub/trace.c         |   1 +
fs/xfs/scrub/trace.h         |  10 +--
fs/xfs/xfs_ondisk.h          |   4 +
fs/xfs/xfs_rtalloc.c         |  17 ++--
8 files changed, 223 insertions(+), 125 deletions(-)