[PATCHSET] xfs: LLM-inspired bug fixes, part 3
"Darrick J. Wong" <[email protected]>
| Newsgroups | org.kernel.vger.linux-xfs,org.kernel.vger.stable |
|---|---|
| Message-ID | <178416797326.2008054.12517273271060887961.stgit@frogsfrogsfrogs> |
Hi all, Here's a 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-3 --- Commits in this patchset: * xfs: check cowextsize in xrep_inode_cowextsize * xfs: fix transaction block reservation in xrep_rtbitmap * xfs: rtsummary scrub should treat rtbitmap corruption errors as an xref error * xfs: zero i_nlink before repair puts inode on unlinked list * xfs: mark nonzero sb_gquotino as corrupt on metadir filesystems * xfs: don't livelock in scrub on a circular unlinked list --- fs/xfs/scrub/agheader.c | 90 +++++++++++++++++++++++++++++----------- fs/xfs/scrub/agheader_repair.c | 17 +++++++- fs/xfs/scrub/inode_repair.c | 2 - fs/xfs/scrub/nlinks_repair.c | 7 +++ fs/xfs/scrub/rtbitmap_repair.c | 46 ++++++++++++-------- fs/xfs/scrub/rtsummary.c | 2 - 6 files changed, 117 insertions(+), 47 deletions(-)