public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* stats and error injection for zoned GC
@ 2026-01-27 16:05 Christoph Hellwig
  2026-01-27 16:05 ` [PATCH 01/10] xfs: fix the errno sign for the xfs_errortag_{add,clearall} stubs Christoph Hellwig
                   ` (9 more replies)
  0 siblings, 10 replies; 61+ messages in thread
From: Christoph Hellwig @ 2026-01-27 16:05 UTC (permalink / raw)
  To: Carlos Maiolino; +Cc: Hans Holmberg, Darrick J. Wong, linux-xfs

Hi all,

this series adds error injection for zoned resets and zoned GC stats.
My initial use is for a test case that verifies zone reset error
handling, but that stats should also be very useful for monitoring
tools like PCP and benchmarking.

As part of the error injection work I've also added a mount option to
enable error ibjection at mount time so that it can exercise the
mount code as well and cleaned up various other bits of the error
injection code.

Diffstat:
 Documentation/admin-guide/xfs.rst |    6 +
 fs/xfs/libxfs/xfs_errortag.h      |    8 +-
 fs/xfs/xfs_error.c                |  142 +++++++++++++++++++++-----------------
 fs/xfs/xfs_error.h                |   23 ++----
 fs/xfs/xfs_stats.c                |    7 +
 fs/xfs/xfs_stats.h                |    6 +
 fs/xfs/xfs_super.c                |   20 +++++
 fs/xfs/xfs_zone_gc.c              |   72 ++++++++++++-------
 8 files changed, 180 insertions(+), 104 deletions(-)

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

end of thread, other threads:[~2026-01-28 17:48 UTC | newest]

Thread overview: 61+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-27 16:05 stats and error injection for zoned GC Christoph Hellwig
2026-01-27 16:05 ` [PATCH 01/10] xfs: fix the errno sign for the xfs_errortag_{add,clearall} stubs Christoph Hellwig
2026-01-28  1:31   ` Darrick J. Wong
2026-01-28 10:50   ` Carlos Maiolino
2026-01-28 12:12   ` Hans Holmberg
2026-01-27 16:05 ` [PATCH 02/10] xfs: allocate m_errortag early Christoph Hellwig
2026-01-28  1:32   ` Darrick J. Wong
2026-01-28  3:42     ` Christoph Hellwig
2026-01-28 11:02   ` Carlos Maiolino
2026-01-28 12:12   ` Hans Holmberg
2026-01-27 16:05 ` [PATCH 03/10] xfs: don't validate error tags in the I/O path Christoph Hellwig
2026-01-28  1:33   ` Darrick J. Wong
2026-01-28 11:08   ` Carlos Maiolino
2026-01-28 12:14   ` Hans Holmberg
2026-01-27 16:05 ` [PATCH 04/10] xfs: move the guts of XFS_ERRORTAG_DELAY out of line Christoph Hellwig
2026-01-28  1:35   ` Darrick J. Wong
2026-01-28  3:44     ` Christoph Hellwig
2026-01-28  5:02       ` Darrick J. Wong
2026-01-28  5:03         ` Christoph Hellwig
2026-01-28 11:18     ` Carlos Maiolino
2026-01-28 14:10       ` Christoph Hellwig
2026-01-28 16:09         ` Darrick J. Wong
2026-01-28 17:43           ` Carlos Maiolino
2026-01-28 11:13   ` Carlos Maiolino
2026-01-28 12:14   ` Hans Holmberg
2026-01-27 16:05 ` [PATCH 05/10] xfs: use WRITE_ONCE/READ_ONCE for m_errortag Christoph Hellwig
2026-01-28  1:36   ` Darrick J. Wong
2026-01-28 11:21   ` Carlos Maiolino
2026-01-28 12:15   ` Hans Holmberg
2026-01-27 16:05 ` [PATCH 06/10] xfs: allow setting errortags at mount time Christoph Hellwig
2026-01-28  1:37   ` Darrick J. Wong
2026-01-28  3:45     ` Christoph Hellwig
2026-01-28  5:07       ` Darrick J. Wong
2026-01-28  5:12         ` Christoph Hellwig
2026-01-28 11:30   ` Carlos Maiolino
2026-01-28 14:11     ` Christoph Hellwig
2026-01-28 16:11     ` Darrick J. Wong
2026-01-28 16:13       ` Christoph Hellwig
2026-01-28 16:16         ` Darrick J. Wong
2026-01-28 17:48           ` Carlos Maiolino
2026-01-28 12:15   ` Hans Holmberg
2026-01-27 16:05 ` [PATCH 07/10] xfs: don't mark all discard issued by zoned GC as sync Christoph Hellwig
2026-01-28  1:38   ` Darrick J. Wong
2026-01-28  3:47     ` Christoph Hellwig
2026-01-28 11:30   ` Carlos Maiolino
2026-01-28 12:15   ` Hans Holmberg
2026-01-27 16:05 ` [PATCH 08/10] xfs: refactor zone reset handling Christoph Hellwig
2026-01-28  1:39   ` Darrick J. Wong
2026-01-28 11:34   ` Carlos Maiolino
2026-01-28 12:16   ` Hans Holmberg
2026-01-27 16:05 ` [PATCH 09/10] xfs: add zone reset error injection Christoph Hellwig
2026-01-28  1:39   ` Darrick J. Wong
2026-01-28 11:35   ` Carlos Maiolino
2026-01-28 12:19   ` Hans Holmberg
2026-01-27 16:05 ` [PATCH 10/10] xfs: add sysfs stats for zoned GC Christoph Hellwig
2026-01-28  1:40   ` Darrick J. Wong
2026-01-28 11:37   ` Carlos Maiolino
2026-01-28 12:53   ` Hans Holmberg
2026-01-28 14:12     ` hch
2026-01-28 15:11       ` Hans Holmberg
2026-01-28 15:12         ` hch

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