All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHSET 2/2] xfs: LLM-inspired bug fixes, part 23
@ 2026-10-12  5:55 Darrick J. Wong
  2026-10-12  5:59 ` [PATCH 01/12] xfs: don't set a metadata directory's parent to sb_rootino Darrick J. Wong
                   ` (11 more replies)
  0 siblings, 12 replies; 28+ messages in thread
From: Darrick J. Wong @ 2026-10-12  5:55 UTC (permalink / raw)
  To: djwong, cem; +Cc: stable, linux-xfs

Hi all,

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

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-23
---
Commits in this patchset:
 * xfs: don't set a metadata directory's parent to sb_rootino
 * xfs: don't rescan ifree and icount when frozen
 * xfs: rescan the AGs if incore delalloc counter is negative
 * xfs: don't try to repair rtsummary if the summary file isn't computed
 * xfs: update quota flags on secondary supers when metadir enabled
 * xfs: refactor directory data block walking loops in scrub
 * xfs: improve dirent bounds checking in scrub and repair
 * xfs: drop unnecessary sa parameter from the xrep_ag init functions
 * xfs: drop unnecessary sr parameter from xrep_rtgroup init functions
 * xfs: drop unnecessary sa parameter from xchk_ag init functions
 * xfs: drop unnecessary sr parameter from xchk_rtgroup init functions
 * xfs: refactor inode forkoff to byte conversions
---
 fs/xfs/libxfs/xfs_bmap.h         |    6 ++
 fs/xfs/libxfs/xfs_format.h       |    6 ++
 fs/xfs/scrub/common.h            |   46 +++++++---------
 fs/xfs/scrub/repair.h            |   11 ++--
 fs/xfs/scrub/rtsummary.h         |    1 
 fs/xfs/xfs_inode.h               |    2 -
 fs/xfs/libxfs/xfs_attr_leaf.c    |   12 ++--
 fs/xfs/libxfs/xfs_bmap.c         |    4 +
 fs/xfs/libxfs/xfs_inode_buf.c    |    4 +
 fs/xfs/libxfs/xfs_inode_util.c   |    2 -
 fs/xfs/scrub/agheader.c          |   16 +++---
 fs/xfs/scrub/alloc_repair.c      |    4 +
 fs/xfs/scrub/bmap.c              |   13 ++---
 fs/xfs/scrub/bmap_repair.c       |   15 ++---
 fs/xfs/scrub/btree.c             |    4 +
 fs/xfs/scrub/common.c            |   50 ++++++++++-------
 fs/xfs/scrub/cow_repair.c        |   12 ++--
 fs/xfs/scrub/dir.c               |  109 +++++++++++++++++++++++++++++++++++---
 fs/xfs/scrub/dir_repair.c        |  102 +++++++++++++++++++++++++++++-------
 fs/xfs/scrub/fscounters.c        |   21 ++++++-
 fs/xfs/scrub/ialloc_repair.c     |    4 +
 fs/xfs/scrub/inode.c             |    6 +-
 fs/xfs/scrub/inode_repair.c      |   10 ++-
 fs/xfs/scrub/refcount_repair.c   |    4 +
 fs/xfs/scrub/repair.c            |   23 ++++----
 fs/xfs/scrub/rgsuper.c           |    4 +
 fs/xfs/scrub/rmap_repair.c       |    8 +--
 fs/xfs/scrub/rtbitmap.c          |    4 +
 fs/xfs/scrub/rtbitmap_repair.c   |    4 +
 fs/xfs/scrub/rtrefcount.c        |    8 +--
 fs/xfs/scrub/rtrefcount_repair.c |    8 +--
 fs/xfs/scrub/rtrmap.c            |    4 +
 fs/xfs/scrub/rtrmap_repair.c     |   12 ++--
 fs/xfs/scrub/rtsummary.c         |   13 +++--
 fs/xfs/scrub/rtsummary_repair.c  |    2 -
 fs/xfs/scrub/scrub.c             |    6 +-
 fs/xfs/xfs_mount.c               |   17 ++++++
 fs/xfs/xfs_qm.c                  |   25 ++++++++-
 38 files changed, 412 insertions(+), 190 deletions(-)


^ permalink raw reply	[flat|nested] 28+ messages in thread
* [PATCHSET v2 2/2] xfs: LLM-inspired bug fixes, part 23
@ 2026-10-13  6:05 Darrick J. Wong
  2026-10-13  6:11 ` [PATCH 11/12] xfs: drop unnecessary sr parameter from xchk_rtgroup init functions Darrick J. Wong
  0 siblings, 1 reply; 28+ messages in thread
From: Darrick J. Wong @ 2026-10-13  6:05 UTC (permalink / raw)
  To: djwong, cem; +Cc: stable, hch, linux-xfs

Hi all,

Here's a twenty-third batch of xfs fixes resulting from a LLaMma.  Mwa
mwa mwa... this is the final batch of fixes from me.

v2: fix issues pointed out by reviewers.

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-23
---
Commits in this patchset:
 * xfs: don't set a metadata directory's parent to sb_rootino
 * xfs: don't rescan ifree and icount when frozen
 * xfs: rescan the AGs if incore delalloc counter is negative
 * xfs: don't try to repair rtsummary if the summary file isn't computed
 * xfs: update quota flags on secondary supers when metadir enabled
 * xfs: refactor directory data block walking loops in scrub
 * xfs: improve dirent bounds checking in scrub and repair
 * xfs: drop unnecessary sa parameter from the xrep_ag init functions
 * xfs: drop unnecessary sr parameter from xrep_rtgroup init functions
 * xfs: drop unnecessary sa parameter from xchk_ag init functions
 * xfs: drop unnecessary sr parameter from xchk_rtgroup init functions
 * xfs: refactor inode forkoff to byte conversions
---
 fs/xfs/libxfs/xfs_bmap.h         |    6 ++
 fs/xfs/libxfs/xfs_format.h       |    6 ++
 fs/xfs/scrub/common.h            |   46 +++++++---------
 fs/xfs/scrub/repair.h            |   11 ++--
 fs/xfs/scrub/rtsummary.h         |    1 
 fs/xfs/xfs_inode.h               |    2 -
 fs/xfs/xfs_quota.h               |    9 +++
 fs/xfs/libxfs/xfs_attr_leaf.c    |   12 ++--
 fs/xfs/libxfs/xfs_bmap.c         |    4 +
 fs/xfs/libxfs/xfs_inode_buf.c    |    4 +
 fs/xfs/libxfs/xfs_inode_util.c   |    2 -
 fs/xfs/scrub/agheader.c          |   16 +++---
 fs/xfs/scrub/alloc_repair.c      |    4 +
 fs/xfs/scrub/bmap.c              |   13 ++--
 fs/xfs/scrub/bmap_repair.c       |   15 ++---
 fs/xfs/scrub/btree.c             |    4 +
 fs/xfs/scrub/common.c            |   50 ++++++++++-------
 fs/xfs/scrub/cow_repair.c        |   12 ++--
 fs/xfs/scrub/dir.c               |  110 +++++++++++++++++++++++++++++++++++---
 fs/xfs/scrub/dir_repair.c        |  105 +++++++++++++++++++++++++++++-------
 fs/xfs/scrub/fscounters.c        |   26 ++++++++-
 fs/xfs/scrub/ialloc_repair.c     |    4 +
 fs/xfs/scrub/inode.c             |    6 +-
 fs/xfs/scrub/inode_repair.c      |   10 ++-
 fs/xfs/scrub/refcount_repair.c   |    4 +
 fs/xfs/scrub/repair.c            |   23 ++++----
 fs/xfs/scrub/rgsuper.c           |    4 +
 fs/xfs/scrub/rmap_repair.c       |    8 +--
 fs/xfs/scrub/rtbitmap.c          |    4 +
 fs/xfs/scrub/rtbitmap_repair.c   |    4 +
 fs/xfs/scrub/rtrefcount.c        |    8 +--
 fs/xfs/scrub/rtrefcount_repair.c |    8 +--
 fs/xfs/scrub/rtrmap.c            |    4 +
 fs/xfs/scrub/rtrmap_repair.c     |   12 ++--
 fs/xfs/scrub/rtsummary.c         |   13 +++-
 fs/xfs/scrub/rtsummary_repair.c  |    2 -
 fs/xfs/scrub/scrub.c             |    6 +-
 fs/xfs/xfs_mount.c               |    9 +++
 fs/xfs/xfs_qm.c                  |   36 ++++++++++++
 39 files changed, 432 insertions(+), 191 deletions(-)

Unreviewed in this series:

[PATCHSET v2 2/2] xfs: LLM-inspired bug fixes, part 23
  [PATCH 03/12] xfs: rescan the AGs if incore delalloc counter is
  [PATCH 05/12] xfs: update quota flags on secondary supers when

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

end of thread, other threads:[~2026-10-13  6:11 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-12  5:55 [PATCHSET 2/2] xfs: LLM-inspired bug fixes, part 23 Darrick J. Wong
2026-10-12  5:59 ` [PATCH 01/12] xfs: don't set a metadata directory's parent to sb_rootino Darrick J. Wong
2026-10-12 13:13   ` Christoph Hellwig
2026-10-12  5:59 ` [PATCH 02/12] xfs: don't rescan ifree and icount when frozen Darrick J. Wong
2026-10-12 13:13   ` Christoph Hellwig
2026-10-12  5:59 ` [PATCH 03/12] xfs: rescan the AGs if incore delalloc counter is negative Darrick J. Wong
2026-10-12 13:16   ` Christoph Hellwig
2026-10-12 16:14     ` Darrick J. Wong
2026-10-12  5:59 ` [PATCH 04/12] xfs: don't try to repair rtsummary if the summary file isn't computed Darrick J. Wong
2026-10-12 13:16   ` Christoph Hellwig
2026-10-12  6:00 ` [PATCH 05/12] xfs: update quota flags on secondary supers when metadir enabled Darrick J. Wong
2026-10-12 13:17   ` Christoph Hellwig
2026-10-12 16:30     ` Darrick J. Wong
2026-10-12  6:00 ` [PATCH 06/12] xfs: refactor directory data block walking loops in scrub Darrick J. Wong
2026-10-12 13:18   ` Christoph Hellwig
2026-10-12  6:00 ` [PATCH 07/12] xfs: improve dirent bounds checking in scrub and repair Darrick J. Wong
2026-10-12 13:18   ` Christoph Hellwig
2026-10-12  6:00 ` [PATCH 08/12] xfs: drop unnecessary sa parameter from the xrep_ag init functions Darrick J. Wong
2026-10-12 13:18   ` Christoph Hellwig
2026-10-12  6:01 ` [PATCH 09/12] xfs: drop unnecessary sr parameter from xrep_rtgroup " Darrick J. Wong
2026-10-12 13:19   ` Christoph Hellwig
2026-10-12  6:01 ` [PATCH 10/12] xfs: drop unnecessary sa parameter from xchk_ag " Darrick J. Wong
2026-10-12 13:19   ` Christoph Hellwig
2026-10-12  6:01 ` [PATCH 11/12] xfs: drop unnecessary sr parameter from xchk_rtgroup " Darrick J. Wong
2026-10-12 13:19   ` Christoph Hellwig
2026-10-12  6:01 ` [PATCH 12/12] xfs: refactor inode forkoff to byte conversions Darrick J. Wong
2026-10-12 13:19   ` Christoph Hellwig
  -- strict thread matches above, loose matches on Subject: below --
2026-10-13  6:05 [PATCHSET v2 2/2] xfs: LLM-inspired bug fixes, part 23 Darrick J. Wong
2026-10-13  6:11 ` [PATCH 11/12] xfs: drop unnecessary sr parameter from xchk_rtgroup init functions Darrick J. Wong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.