Linux XFS filesystem development
 help / color / mirror / Atom feed
* [PATCHSET v2] xfs: LLM-inspired bug fixes, part 21
@ 2026-10-09  6:14 Darrick J. Wong
  2026-10-09  6:15 ` [PATCH 01/13] xfs: check for termination during rmap btree walk Darrick J. Wong
                   ` (12 more replies)
  0 siblings, 13 replies; 23+ messages in thread
From: Darrick J. Wong @ 2026-10-09  6:14 UTC (permalink / raw)
  To: cem, djwong; +Cc: stable, hch, linux-xfs

Hi all,

Here's a twenty-first batch of xfs fixes resulting from a LLaMma.  Mwa
mwa mwa...

v2: fix various problems noted by reviewers and other lollms and
    refactor some attr scrub functions

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

kernel git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=llm-fixes-21
---
Commits in this patchset:
 * xfs: check for termination during rmap btree walk
 * xfs: don't subtract excess usage twice when computing agf_btreeblks
 * xfs: abort directory tree repair whenever dl->aborted is set
 * xfs: reattach dquots after changing inode ids
 * xfs: never reset the default quota timer
 * xfs: fix correction of unwritten extents in quota file data fork
 * xfs: always report inode repair setup failures
 * xfs: range-check bc_levels array access in scrub tracepoints
 * xfs: reject absurdly large xattr value lengths in xchk_xattr_actor
 * xfs: break out xattr entry checks into separate functions
 * xfs: check for buffer overruns when examining local/remote xattr entries
 * xfs: clarify various parts of the bitmap API
 * xfs: complain loudly when dirtree checker finds broken links
---
 fs/xfs/scrub/newbt.h          |    1 
 fs/xfs/scrub/repair.h         |    2 -
 fs/xfs/scrub/trace.h          |   10 ++-
 fs/xfs/scrub/alloc_repair.c   |   11 ++-
 fs/xfs/scrub/attr.c           |  108 ++++++++++++++++++++++++++-------
 fs/xfs/scrub/attr_repair.c    |   14 ++++
 fs/xfs/scrub/bitmap.c         |   20 ++++++
 fs/xfs/scrub/dirtree.c        |    4 +
 fs/xfs/scrub/dirtree_repair.c |    9 +++
 fs/xfs/scrub/inode.c          |    2 -
 fs/xfs/scrub/inode_repair.c   |  136 +++++++++++++++++++++++++++++++++++++++--
 fs/xfs/scrub/newbt.c          |   13 ----
 fs/xfs/scrub/parent_repair.c  |    4 +
 fs/xfs/scrub/quota_repair.c   |   28 ++++++++
 fs/xfs/scrub/trace.c          |   13 ++++
 15 files changed, 313 insertions(+), 62 deletions(-)

Unreviewed patches:

[PATCHSET v2] xfs: LLM-inspired bug fixes, part 21
  [PATCH 02/13] xfs: don't subtract excess usage twice when computing
  [PATCH 04/13] xfs: reattach dquots after changing inode ids
  [PATCH 06/13] xfs: fix correction of unwritten extents in quota file
  [PATCH 10/13] xfs: break out xattr entry checks into separate
  [PATCH 11/13] xfs: check for buffer overruns when examining

^ permalink raw reply	[flat|nested] 23+ messages in thread
* [PATCHSET v3] xfs: LLM-inspired bug fixes, part 21
@ 2026-10-12 15:20 Darrick J. Wong
  2026-10-12 15:21 ` [PATCH 06/13] xfs: fix correction of unwritten extents in quota file data fork Darrick J. Wong
  0 siblings, 1 reply; 23+ messages in thread
From: Darrick J. Wong @ 2026-10-12 15:20 UTC (permalink / raw)
  To: djwong, cem; +Cc: stable, hch, linux-xfs

Hi all,

Here's a twenty-first batch of xfs fixes resulting from a LLaMma.  Mwa
mwa mwa...

v2: fix various problems noted by reviewers and other lollms
    refactor xattr entry checks into separate helpers
v3: fix bugs that the buildbots and other lollm found

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

kernel git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=llm-fixes-21
---
Commits in this patchset:
 * xfs: check for termination during rmap btree walk
 * xfs: don't subtract excess usage twice when computing agf_btreeblks
 * xfs: abort directory tree repair whenever dl->aborted is set
 * xfs: reattach dquots after changing inode ids
 * xfs: never reset the default quota timer
 * xfs: fix correction of unwritten extents in quota file data fork
 * xfs: always report inode repair setup failures
 * xfs: range-check bc_levels array access in scrub tracepoints
 * xfs: reject absurdly large xattr value lengths in xchk_xattr_actor
 * xfs: break out xattr entry checks into separate functions
 * xfs: check for buffer overruns when examining local/remote xattr entries
 * xfs: clarify various parts of the bitmap API
 * xfs: complain loudly when dirtree checker finds broken links
---
 fs/xfs/scrub/newbt.h          |    1 
 fs/xfs/scrub/repair.h         |    2 -
 fs/xfs/scrub/trace.h          |   10 ++-
 fs/xfs/scrub/alloc_repair.c   |   11 ++-
 fs/xfs/scrub/attr.c           |  108 +++++++++++++++++++++++++++------
 fs/xfs/scrub/attr_repair.c    |   16 ++++-
 fs/xfs/scrub/bitmap.c         |   20 ++++++
 fs/xfs/scrub/dirtree.c        |    4 +
 fs/xfs/scrub/dirtree_repair.c |    9 +++
 fs/xfs/scrub/inode.c          |    2 -
 fs/xfs/scrub/inode_repair.c   |  133 +++++++++++++++++++++++++++++++++++++++++
 fs/xfs/scrub/newbt.c          |   13 ----
 fs/xfs/scrub/parent_repair.c  |    4 +
 fs/xfs/scrub/quota_repair.c   |   28 ++++++++-
 fs/xfs/scrub/trace.c          |   13 ++++
 15 files changed, 318 insertions(+), 56 deletions(-)

Unreviewed patches in this series:

[PATCHSET v3] xfs: LLM-inspired bug fixes, part 21
  [PATCH 04/13] xfs: reattach dquots after changing inode ids

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

end of thread, other threads:[~2026-10-12 15:21 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-09  6:14 [PATCHSET v2] xfs: LLM-inspired bug fixes, part 21 Darrick J. Wong
2026-10-09  6:15 ` [PATCH 01/13] xfs: check for termination during rmap btree walk Darrick J. Wong
2026-10-09  6:15 ` [PATCH 02/13] xfs: don't subtract excess usage twice when computing agf_btreeblks Darrick J. Wong
2026-10-12 12:42   ` Christoph Hellwig
2026-10-09  6:15 ` [PATCH 03/13] xfs: abort directory tree repair whenever dl->aborted is set Darrick J. Wong
2026-10-09  6:15 ` [PATCH 04/13] xfs: reattach dquots after changing inode ids Darrick J. Wong
2026-10-12 12:44   ` Christoph Hellwig
2026-10-12 15:15     ` Darrick J. Wong
2026-10-09  6:16 ` [PATCH 05/13] xfs: never reset the default quota timer Darrick J. Wong
2026-10-09  6:16 ` [PATCH 06/13] xfs: fix correction of unwritten extents in quota file data fork Darrick J. Wong
2026-10-12 12:44   ` Christoph Hellwig
2026-10-09  6:16 ` [PATCH 07/13] xfs: always report inode repair setup failures Darrick J. Wong
2026-10-09  6:16 ` [PATCH 08/13] xfs: range-check bc_levels array access in scrub tracepoints Darrick J. Wong
2026-10-09  6:17 ` [PATCH 09/13] xfs: reject absurdly large xattr value lengths in xchk_xattr_actor Darrick J. Wong
2026-10-09  6:17 ` [PATCH 10/13] xfs: break out xattr entry checks into separate functions Darrick J. Wong
2026-10-12 12:45   ` Christoph Hellwig
2026-10-09  6:17 ` [PATCH 11/13] xfs: check for buffer overruns when examining local/remote xattr entries Darrick J. Wong
2026-10-12 12:45   ` Christoph Hellwig
2026-10-09  6:17 ` [PATCH 12/13] xfs: clarify various parts of the bitmap API Darrick J. Wong
2026-10-12 12:45   ` Christoph Hellwig
2026-10-09  6:18 ` [PATCH 13/13] xfs: complain loudly when dirtree checker finds broken links Darrick J. Wong
2026-10-12 12:46   ` Christoph Hellwig
  -- strict thread matches above, loose matches on Subject: below --
2026-10-12 15:20 [PATCHSET v3] xfs: LLM-inspired bug fixes, part 21 Darrick J. Wong
2026-10-12 15:21 ` [PATCH 06/13] xfs: fix correction of unwritten extents in quota file data fork Darrick J. Wong

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