Re: [PATCHSET v2 2/2] xfs: LLM-inspired iunlink repair bug fixes

Carlos Maiolino <[email protected]> Mon, 03 Aug 2026 15:22:53 +0200
Newsgroups org.kernel.vger.linux-xfs,org.kernel.vger.stable
Message-ID <[email protected]>
On Sun, 26 Jul 2026 22:22:54 -0700, Darrick J. Wong wrote:
> These bugfixes got started as part of a series of assorted bug fixes.
> However, in writing a test case to exercise weird corruption scenarios
> I discovered a few more fixes, so I decided to collect them all in a
> targeted series.
> 
> v2: add rvbs, fix a few minor coding errors, strengthen loop detection
> 
> [...]

Applied to for-next, thanks!

[01/10] xfs: hoist per-bucket unlinked list check to helper
        commit: 7cdafd8f10ebdf745ba6046b9fa67490c343a17f
[02/10] xfs: don't livelock in scrub on a circular unlinked list
        commit: 527eaaefddb6ec5c83a06c9a1559960dd6361753
[03/10] xfs: don't walk off the end of a null sc->sa.agi_bp in AGI repair
        commit: 1e96a00e0d3a00be6e4f368b2f18e2d345f813ce
[04/10] xfs: load next_agino from the correct xfarray in xrep_iunlink_relink_prev
        commit: 6b9cd540138a06660a843a519facc147060acbef
[05/10] xfs: pass runtime errors from xrep_iunlink_mark_ondisk_rec up to callers
        commit: 5644fab990fc72406dddc91cbb8304659d77f3f1
[06/10] xfs: check xfarray iteration errors when committing unlinked inode lists
        commit: 2daf3ed5d059dec79c123aec42eb8d28e0c016d4
[07/10] xfs: fix allocated inodes that show up in the unlinked list
        commit: 68ab37650ce5195b4f4f8466444a36a78207840c
[08/10] xfs: fix another iunlink infinite loop bug in online fsck
        commit: 6d67c6b99f1fc07c64b97fcbc974c6f1ada7f622
[09/10] xfs: set the prev pointer when reinserting an inode on the unlinked list
        commit: af146cb7ff8ff5c54162f35c238f3ff1d5ad110f
[10/10] xfs: don't ignore runtime errors in xrep_iunlink_reload_next
        commit: 0052633527158b49762ab427e73924e4f8d25e6c

Best regards,
-- 
Carlos Maiolino <[email protected]>