Linux XFS filesystem development
 help / color / mirror / Atom feed
* [PATCHSET] xfs_scrub: codex-inspired bug fixes, part 3
@ 2026-06-25 22:54 Darrick J. Wong
  2026-06-25 22:54 ` [PATCH 1/8] xfs_scrub: stop user file scan if caller already aborte Darrick J. Wong
                   ` (7 more replies)
  0 siblings, 8 replies; 20+ messages in thread
From: Darrick J. Wong @ 2026-06-25 22:54 UTC (permalink / raw)
  To: aalbersh, djwong; +Cc: linux-xfs, linux-xfs, hch

Hi all,

Here's a third 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-fixes3
---
Commits in this patchset:
 * xfs_scrub: stop user file scan if caller already aborte
 * xfs_scrub: don't flatten error numbers in read_verify_schedule_now
 * xfs_scrub: actually handle NEEDSCHECK scrub items in phase 4
 * xfs_scrub: fix spacemap external log device scan dev key
 * xfs_scrub: fix estimate of work items for phase 4
 * xfs_scrub: don't leak phase 5 scan items after a failed workqueue_add
 * xfs_scrub: fix phase 8 debug reporting
 * xfs_scrub: always finish cleanup, even if reporting healthy state fails
---
 scrub/repair.h      |   14 ++++++++++++++
 scrub/inodes.c      |    2 +-
 scrub/phase1.c      |   11 ++++++-----
 scrub/phase4.c      |    4 ++++
 scrub/phase5.c      |    8 ++++++--
 scrub/phase8.c      |    5 ++---
 scrub/read_verify.c |    2 +-
 scrub/repair.c      |   16 +++++++++++-----
 scrub/spacemap.c    |    9 +++++++--
 9 files changed, 52 insertions(+), 19 deletions(-)


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

end of thread, other threads:[~2026-06-26 17:09 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-25 22:54 [PATCHSET] xfs_scrub: codex-inspired bug fixes, part 3 Darrick J. Wong
2026-06-25 22:54 ` [PATCH 1/8] xfs_scrub: stop user file scan if caller already aborte Darrick J. Wong
2026-06-26  4:58   ` Christoph Hellwig
2026-06-26 16:46     ` Darrick J. Wong
2026-06-25 22:54 ` [PATCH 2/8] xfs_scrub: don't flatten error numbers in read_verify_schedule_now Darrick J. Wong
2026-06-26  4:58   ` Christoph Hellwig
2026-06-25 22:54 ` [PATCH 3/8] xfs_scrub: actually handle NEEDSCHECK scrub items in phase 4 Darrick J. Wong
2026-06-26  4:59   ` Christoph Hellwig
2026-06-25 22:55 ` [PATCH 4/8] xfs_scrub: fix spacemap external log device scan dev key Darrick J. Wong
2026-06-26  5:03   ` Christoph Hellwig
2026-06-26 17:09     ` Darrick J. Wong
2026-06-25 22:55 ` [PATCH 5/8] xfs_scrub: fix estimate of work items for phase 4 Darrick J. Wong
2026-06-26  5:04   ` Christoph Hellwig
2026-06-26 16:55     ` Darrick J. Wong
2026-06-25 22:55 ` [PATCH 6/8] xfs_scrub: don't leak phase 5 scan items after a failed workqueue_add Darrick J. Wong
2026-06-26  5:04   ` Christoph Hellwig
2026-06-25 22:56 ` [PATCH 7/8] xfs_scrub: fix phase 8 debug reporting Darrick J. Wong
2026-06-26  5:05   ` Christoph Hellwig
2026-06-25 22:56 ` [PATCH 8/8] xfs_scrub: always finish cleanup, even if reporting healthy state fails Darrick J. Wong
2026-06-26  5:05   ` Christoph Hellwig

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