mbox series

[GIT,PULL,3/7] xfs_db: debug realtime geometry

Message ID 173041764589.994242.3294432927483613816.stg-ugh@frogsfrogsfrogs (mailing list archive)
State New
Headers show
Series [GIT,PULL,1/7] libxfs: new code for 6.12 | expand

Pull-request

https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfsprogs-dev.git tags/debug-realtime-geometry-6.12_2024-10-31

Message

Darrick J. Wong Oct. 31, 2024, 11:43 p.m. UTC
Hi Andrey,

Please pull this branch with changes for xfsprogs for 6.11-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.

The following changes since commit 1cf7afbc0c8bcb450ebc3acab7616c9da49087de:

xfs_io: add atomic file update commands to exercise file commit range (2024-10-31 15:45:04 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfsprogs-dev.git tags/debug-realtime-geometry-6.12_2024-10-31

for you to fetch changes up to 5f10590bae67d7698191a1392b6b1d3ce4d11a0c:

xfs_db: convert rtsummary geometry (2024-10-31 15:45:05 -0700)

----------------------------------------------------------------
xfs_db: debug realtime geometry [v5.3 3/7]

Before we start modernizing the realtime device, let's first make a few
improvements to the XFS debugger to make our lives easier.  First up is
making it so that users can point the debugger at the block device
containing the realtime section, and augmenting the io cursor code to be
able to read blocks from the rt device.  Next, we add a new geometry
conversion command (rtconvert) to make it easier to go back and forth
between rt blocks, rt extents, and the corresponding locations within
the rt bitmap and summary files.

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

----------------------------------------------------------------
Darrick J. Wong (8):
xfs_db: support passing the realtime device to the debugger
xfs_db: report the realtime device when associated with each io cursor
xfs_db: make the daddr command target the realtime device
xfs_db: access realtime file blocks
xfs_db: access arbitrary realtime blocks and extents
xfs_db: enable conversion of rt space units
xfs_db: convert rtbitmap geometry
xfs_db: convert rtsummary geometry

db/block.c        | 171 ++++++++++++++++++++-
db/block.h        |  20 +++
db/convert.c      | 438 +++++++++++++++++++++++++++++++++++++++++++++++++++---
db/faddr.c        |   5 +-
db/init.c         |   7 +-
db/io.c           |  39 ++++-
db/io.h           |   3 +
db/xfs_admin.sh   |   4 +-
man/man8/xfs_db.8 | 131 +++++++++++++++-
9 files changed, 778 insertions(+), 40 deletions(-)