Linux XFS filesystem development
 help / color / mirror / Atom feed
* [PATCHSET] xfs_healer: codex-inspired bug fixes for 7.1
@ 2026-06-02  4:58 Darrick J. Wong
  2026-06-02  4:58 ` [PATCH 1/7] xfs_healer: fix error reporting Darrick J. Wong
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Darrick J. Wong @ 2026-06-02  4:58 UTC (permalink / raw)
  To: djwong, aalbersh; +Cc: linux-xfs, linux-xfs, hch

Hi all,

For the time being, I have an OpenAI Codex account through my employer.
I decided to throw it at the entirety of the xfs_healer codebase to see
what kinds of problems it would report.  I picked off the obviously
delusional complaints, and fixed the rest.  Most of these are minor
details except for the last one, which actually could cause crashes if
the mountpoint moves around a lot.

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=healer-codex-fixes
---
Commits in this patchset:
 * xfs_healer: fix error reporting
 * xfs_healer: recommend offline fsck for XCORRUPT repairs
 * xfs_healer: initialize variable here
 * xfs_healer: run a full xfs_scrub repair if we don't know how to do a spot repair
 * xfs_healer: fix Makefile errors
 * xfs_healer: don't leak wh->mntpoint if fd_to_handle fails
 * xfs_healer: coordinate access to weakhandle::mntpoint correctly
---
 healer/Makefile     |    5 +++-
 healer/fsrepair.c   |   28 ++++++++++++++++++++---
 healer/weakhandle.c |   61 +++++++++++++++++++++++++++++++++++++--------------
 healer/xfs_healer.c |    9 +++++---
 4 files changed, 78 insertions(+), 25 deletions(-)


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

end of thread, other threads:[~2026-06-02  6:34 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-02  4:58 [PATCHSET] xfs_healer: codex-inspired bug fixes for 7.1 Darrick J. Wong
2026-06-02  4:58 ` [PATCH 1/7] xfs_healer: fix error reporting Darrick J. Wong
2026-06-02  6:31   ` Christoph Hellwig
2026-06-02  4:58 ` [PATCH 2/7] xfs_healer: recommend offline fsck for XCORRUPT repairs Darrick J. Wong
2026-06-02  6:31   ` Christoph Hellwig
2026-06-02  4:58 ` [PATCH 3/7] xfs_healer: initialize variable here Darrick J. Wong
2026-06-02  6:32   ` Christoph Hellwig
2026-06-02  4:59 ` [PATCH 4/7] xfs_healer: run a full xfs_scrub repair if we don't know how to do a spot repair Darrick J. Wong
2026-06-02  6:32   ` Christoph Hellwig
2026-06-02  4:59 ` [PATCH 5/7] xfs_healer: fix Makefile errors Darrick J. Wong
2026-06-02  6:32   ` Christoph Hellwig
2026-06-02  4:59 ` [PATCH 6/7] xfs_healer: don't leak wh->mntpoint if fd_to_handle fails Darrick J. Wong
2026-06-02  6:33   ` Christoph Hellwig
2026-06-02  4:59 ` [PATCH 7/7] xfs_healer: coordinate access to weakhandle::mntpoint correctly Darrick J. Wong
2026-06-02  6:34   ` Christoph Hellwig

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