Hi all, 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. If you're going to start using this code, I strongly recommend pulling from my git trees, which are linked below. Comments and questions are, as always, welcome. xfsprogs git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=debug-realtime-geometry-6.12 --- Commits in this patchset: * 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(-)