public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHBOMB] xfsprogs: utility changes for 6.12
@ 2024-10-25  6:26 Darrick J. Wong
  2024-10-25  6:31 ` Darrick J. Wong
                   ` (5 more replies)
  0 siblings, 6 replies; 57+ messages in thread
From: Darrick J. Wong @ 2024-10-25  6:26 UTC (permalink / raw)
  To: Andrey Albershteyn; +Cc: xfs, Christoph Hellwig

Hi Andrey,

Here are all the changes to the xfsprogs utilities that I'd like to get
in for 6.12.  First we add support for the new exchange-range ioctl,
then wire up xfs_db support for realtime volumes in preparation for
future rt modernization.  Then there's some refactoring of mkfs, and a
bug fix for xfs_scrub_all.

None of these patches are reviewed.

--D

^ permalink raw reply	[flat|nested] 57+ messages in thread
* [PATCHSET v5.3 3/7] xfs_db: debug realtime geometry
@ 2024-10-31 23:07 Darrick J. Wong
  2024-10-31 23:22 ` [PATCH 4/8] xfs_db: access realtime file blocks Darrick J. Wong
  0 siblings, 1 reply; 57+ messages in thread
From: Darrick J. Wong @ 2024-10-31 23:07 UTC (permalink / raw)
  To: djwong, aalbersh; +Cc: linux-xfs

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(-)


^ permalink raw reply	[flat|nested] 57+ messages in thread
* [PATCHSET v5.2 1/2] xfs_db: debug realtime geometry
@ 2024-10-29 15:47 Darrick J. Wong
  2024-10-29 15:48 ` [PATCH 4/8] xfs_db: access realtime file blocks Darrick J. Wong
  0 siblings, 1 reply; 57+ messages in thread
From: Darrick J. Wong @ 2024-10-29 15:47 UTC (permalink / raw)
  To: aalbersh, cem, djwong; +Cc: linux-xfs, hch

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(-)


^ permalink raw reply	[flat|nested] 57+ messages in thread
* [PATCHSET v2.0 03/17] xfs_db: debug realtime geometry
@ 2023-12-31 19:52 Darrick J. Wong
  2023-12-31 23:45 ` [PATCH 4/8] xfs_db: access realtime file blocks Darrick J. Wong
  0 siblings, 1 reply; 57+ messages in thread
From: Darrick J. Wong @ 2023-12-31 19:52 UTC (permalink / raw)
  To: cem, djwong; +Cc: linux-xfs

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.

This has been running on the djcloud for months with no problems.  Enjoy!
Comments and questions are, as always, welcome.

--D

xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=debug-realtime-geometry
---
 db/block.c        |  167 +++++++++++++++++++++-
 db/convert.c      |  409 ++++++++++++++++++++++++++++++++++++++++++++++++++---
 db/faddr.c        |    4 -
 db/init.c         |    7 +
 db/io.c           |   39 ++++-
 db/io.h           |    3 
 db/xfs_admin.sh   |    4 -
 man/man8/xfs_db.8 |  129 +++++++++++++++++
 8 files changed, 722 insertions(+), 40 deletions(-)


^ permalink raw reply	[flat|nested] 57+ messages in thread
* [PATCHSET v1.0 0/8] xfs_db: debug realtime geometry
@ 2022-12-30 22:19 Darrick J. Wong
  2022-12-30 22:19 ` [PATCH 4/8] xfs_db: access realtime file blocks Darrick J. Wong
  0 siblings, 1 reply; 57+ messages in thread
From: Darrick J. Wong @ 2022-12-30 22:19 UTC (permalink / raw)
  To: djwong, cem; +Cc: linux-xfs

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 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

xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=debug-realtime-geometry
---
 db/block.c        |  183 +++++++++++++++++++++++--
 db/convert.c      |  395 ++++++++++++++++++++++++++++++++++++++++++++++++++---
 db/faddr.c        |    4 -
 db/init.c         |    7 +
 db/io.c           |   89 +++++++++++-
 db/io.h           |    6 +
 db/xfs_admin.sh   |    5 -
 man/man8/xfs_db.8 |  129 +++++++++++++++++
 8 files changed, 772 insertions(+), 46 deletions(-)


^ permalink raw reply	[flat|nested] 57+ messages in thread

end of thread, other threads:[~2024-10-31 23:22 UTC | newest]

Thread overview: 57+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-25  6:26 [PATCHBOMB] xfsprogs: utility changes for 6.12 Darrick J. Wong
2024-10-25  6:31 ` Darrick J. Wong
2024-10-25  6:31 ` [PATCHSET v31.2 1/5] xfsprogs: atomic file content commits Darrick J. Wong
2024-10-25  6:32   ` [PATCH 1/7] man: document file range commit ioctls Darrick J. Wong
2024-10-28  8:31     ` Christoph Hellwig
2024-10-25  6:32   ` [PATCH 2/7] libfrog: add support for commit range ioctl family Darrick J. Wong
2024-10-28  8:32     ` Christoph Hellwig
2024-10-25  6:33   ` [PATCH 3/7] libxfs: remove unused xfs_inode fields Darrick J. Wong
2024-10-28  8:32     ` Christoph Hellwig
2024-10-25  6:33   ` [PATCH 4/7] libxfs: validate inumber in xfs_iget Darrick J. Wong
2024-10-28  8:32     ` Christoph Hellwig
2024-10-25  6:33   ` [PATCH 5/7] xfs_fsr: port to new file exchange library function Darrick J. Wong
2024-10-28  8:33     ` Christoph Hellwig
2024-10-25  6:34   ` [PATCH 6/7] xfs_io: add a commitrange option to the exchangerange command Darrick J. Wong
2024-10-28  8:33     ` Christoph Hellwig
2024-10-25  6:34   ` [PATCH 7/7] xfs_io: add atomic file update commands to exercise file commit range Darrick J. Wong
2024-10-28  8:33     ` Christoph Hellwig
2024-10-25  6:31 ` [PATCHSET v2.6 2/5] xfs_db: debug realtime geometry Darrick J. Wong
2024-10-25  6:34   ` [PATCH 1/8] xfs_db: support passing the realtime device to the debugger Darrick J. Wong
2024-10-28  8:34     ` Christoph Hellwig
2024-10-25  6:34   ` [PATCH 2/8] xfs_db: report the realtime device when associated with each io cursor Darrick J. Wong
2024-10-28  8:34     ` Christoph Hellwig
2024-10-25  6:35   ` [PATCH 3/8] xfs_db: make the daddr command target the realtime device Darrick J. Wong
2024-10-28  8:35     ` Christoph Hellwig
2024-10-25  6:35   ` [PATCH 4/8] xfs_db: access realtime file blocks Darrick J. Wong
2024-10-28  8:37     ` Christoph Hellwig
2024-10-28 17:50       ` Darrick J. Wong
2024-10-25  6:35   ` [PATCH 5/8] xfs_db: access arbitrary realtime blocks and extents Darrick J. Wong
2024-10-28  8:38     ` Christoph Hellwig
2024-10-28 17:51       ` Darrick J. Wong
2024-10-25  6:35   ` [PATCH 6/8] xfs_db: enable conversion of rt space units Darrick J. Wong
2024-10-28  8:41     ` Christoph Hellwig
2024-10-28 17:58       ` Darrick J. Wong
2024-10-25  6:36   ` [PATCH 7/8] xfs_db: convert rtbitmap geometry Darrick J. Wong
2024-10-28  8:42     ` Christoph Hellwig
2024-10-25  6:36   ` [PATCH 8/8] xfs_db: convert rtsummary geometry Darrick J. Wong
2024-10-28  8:42     ` Christoph Hellwig
2024-10-25  6:31 ` [PATCHSET v2.6 3/5] xfs_metadump: support external devices Darrick J. Wong
2024-10-25  6:36   ` [PATCH 1/1] xfs_db: allow setting current address to log blocks Darrick J. Wong
2024-10-28  8:43     ` Christoph Hellwig
2024-10-25  6:32 ` [PATCHSET v2.6 4/5] mkfs/repair: use new rtbitmap helpers Darrick J. Wong
2024-10-25  6:36   ` [PATCH 1/6] xfs_repair: checking rt free space metadata must happen during phase 4 Darrick J. Wong
2024-10-28  8:43     ` Christoph Hellwig
2024-10-25  6:37   ` [PATCH 2/6] xfs_repair: use xfs_validate_rt_geometry Darrick J. Wong
2024-10-25  6:37   ` [PATCH 3/6] mkfs: remove a pointless rtfreesp_init forward declaration Darrick J. Wong
2024-10-25  6:37   ` [PATCH 4/6] mkfs: use xfs_rtfile_initialize_blocks Darrick J. Wong
2024-10-25  6:37   ` [PATCH 5/6] xfs_repair: use libxfs_rtfile_initialize_blocks Darrick J. Wong
2024-10-25  6:38   ` [PATCH 6/6] xfs_repair: stop preallocating blocks in mk_rbmino and mk_rsumino Darrick J. Wong
2024-10-25  6:32 ` [PATCHSET v31.2 5/5] xfs_scrub_all: bug fix for 6.12 Darrick J. Wong
2024-10-25  6:38   ` [PATCH 1/1] xfs_scrub_all: wait for services to start activating Darrick J. Wong
2024-10-28  8:44     ` Christoph Hellwig
2024-10-28 16:45       ` Darrick J. Wong
  -- strict thread matches above, loose matches on Subject: below --
2024-10-31 23:07 [PATCHSET v5.3 3/7] xfs_db: debug realtime geometry Darrick J. Wong
2024-10-31 23:22 ` [PATCH 4/8] xfs_db: access realtime file blocks Darrick J. Wong
2024-10-29 15:47 [PATCHSET v5.2 1/2] xfs_db: debug realtime geometry Darrick J. Wong
2024-10-29 15:48 ` [PATCH 4/8] xfs_db: access realtime file blocks Darrick J. Wong
2024-10-30  4:34   ` Christoph Hellwig
2023-12-31 19:52 [PATCHSET v2.0 03/17] xfs_db: debug realtime geometry Darrick J. Wong
2023-12-31 23:45 ` [PATCH 4/8] xfs_db: access realtime file blocks Darrick J. Wong
2022-12-30 22:19 [PATCHSET v1.0 0/8] xfs_db: debug realtime geometry Darrick J. Wong
2022-12-30 22:19 ` [PATCH 4/8] xfs_db: access realtime file blocks Darrick J. Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox