Linux XFS filesystem development
 help / color / mirror / Atom feed
* [PATCHSET] xfs_scrub: codex-inspired bug fixes, part 2
@ 2026-06-24 18:14 Darrick J. Wong
  2026-06-24 18:14 ` [PATCH 01/11] xfs_scrub: handle missing media verify ioctl failure return codes Darrick J. Wong
                   ` (10 more replies)
  0 siblings, 11 replies; 23+ messages in thread
From: Darrick J. Wong @ 2026-06-24 18:14 UTC (permalink / raw)
  To: djwong, aalbersh; +Cc: linux-xfs, hch, linux-xfs

Hi all,

Here's a second batch of xfs_scrub fixes resulting from Codex reviews.

If you're going to start using this code, I strongly recommend pulling
from my git trees, which are linked below.

With a bit of luck, this should all go splendidly.
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=scrub-codex-fixes2
---
Commits in this patchset:
 * xfs_scrub: handle missing media verify ioctl failure return codes
 * xfs_scrub: report bad file ranges correctly
 * xfs_scrub: handle media scans of internal rt devices correctly
 * xfs_scrub: track inode scan abort state with an enum
 * xfs_scrub: don't skip bulkstat batch when scrub_scan_user_files helper returns ESTALE
 * xfs_scrub: warn about incomplete repairs if we never get to them
 * xfs_scrub: report external log space usage in phase 7
 * xfs_scrub: account only data extent tail after an overlap
 * xfs_scrub: account for reflinked realtime file data
 * xfs_scrub: don't leak the autofsck fsproperty handle
 * xfs_scrub: warn about difficult rtgroup repairs
---
 scrub/inodes.c      |   66 ++++++++++++++++++++++++++------------
 scrub/phase1.c      |   10 +++---
 scrub/phase2.c      |    8 +++++
 scrub/phase6.c      |   10 ++++--
 scrub/phase7.c      |   89 ++++++++++++++++++++++++++++++++++-----------------
 scrub/read_verify.c |    8 ++++-
 scrub/repair.c      |    5 ++-
 scrub/spacemap.c    |    2 +
 8 files changed, 137 insertions(+), 61 deletions(-)


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

end of thread, other threads:[~2026-06-25 12:06 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-24 18:14 [PATCHSET] xfs_scrub: codex-inspired bug fixes, part 2 Darrick J. Wong
2026-06-24 18:14 ` [PATCH 01/11] xfs_scrub: handle missing media verify ioctl failure return codes Darrick J. Wong
2026-06-25 12:00   ` Christoph Hellwig
2026-06-24 18:15 ` [PATCH 02/11] xfs_scrub: report bad file ranges correctly Darrick J. Wong
2026-06-25 12:00   ` Christoph Hellwig
2026-06-24 18:15 ` [PATCH 03/11] xfs_scrub: handle media scans of internal rt devices correctly Darrick J. Wong
2026-06-25 12:01   ` Christoph Hellwig
2026-06-24 18:15 ` [PATCH 04/11] xfs_scrub: track inode scan abort state with an enum Darrick J. Wong
2026-06-25 12:02   ` Christoph Hellwig
2026-06-24 18:15 ` [PATCH 05/11] xfs_scrub: don't skip bulkstat batch when scrub_scan_user_files helper returns ESTALE Darrick J. Wong
2026-06-25 12:03   ` Christoph Hellwig
2026-06-24 18:16 ` [PATCH 06/11] xfs_scrub: warn about incomplete repairs if we never get to them Darrick J. Wong
2026-06-25 12:03   ` Christoph Hellwig
2026-06-24 18:16 ` [PATCH 07/11] xfs_scrub: report external log space usage in phase 7 Darrick J. Wong
2026-06-25 12:05   ` Christoph Hellwig
2026-06-24 18:16 ` [PATCH 08/11] xfs_scrub: account only data extent tail after an overlap Darrick J. Wong
2026-06-25 12:05   ` Christoph Hellwig
2026-06-24 18:16 ` [PATCH 09/11] xfs_scrub: account for reflinked realtime file data Darrick J. Wong
2026-06-25 12:06   ` Christoph Hellwig
2026-06-24 18:17 ` [PATCH 10/11] xfs_scrub: don't leak the autofsck fsproperty handle Darrick J. Wong
2026-06-25 12:06   ` Christoph Hellwig
2026-06-24 18:17 ` [PATCH 11/11] xfs_scrub: warn about difficult rtgroup repairs Darrick J. Wong
2026-06-25 12:06   ` Christoph Hellwig

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