| From: |
| Christoph Hellwig <hch-AT-lst.de> |
| To: |
| Carlos Maiolino <cem-AT-kernel.org> |
| Subject: |
| stats and error injection for zoned GC |
| Date: |
| Tue, 27 Jan 2026 17:05:40 +0100 |
| Message-ID: |
| <20260127160619.330250-1-hch@lst.de> |
| Cc: |
| Hans Holmberg <hans.holmberg-AT-wdc.com>, "Darrick J. Wong" <djwong-AT-kernel.org>, linux-xfs-AT-vger.kernel.org |
| Archive-link: |
| Article |
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(-)