From: "Darrick J. Wong" <djwong@kernel.org>
To: cem@kernel.org, djwong@kernel.org
Cc: stable@vger.kernel.org, linux-xfs@vger.kernel.org
Subject: [PATCHSET] xfs: LLM-inspired bug fixes, part 16
Date: Sun, 20 Sep 2026 23:13:50 -0700 [thread overview]
Message-ID: <178996120463.181988.9152653965555322220.stgit@frogsfrogsfrogs> (raw)
Hi all,
Here's a sixteenth 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-16
---
Commits in this patchset:
* xfs: fix missing xfs_qm_adjust_dqlimits call in quotacheck repair
* xfs: online quotacheck must dirty dquot if enforcement adjustments needed
* xfs: fix buffer overruns in xfs_ioc_attr_list
* xfs: clean up after failed metafile relinking
* xfs: pass xfs_trans_resv object to reservation calculation helpers
* xfs: fix xfs_rename_space_res for non-pptr filesystems
* xfs: fix ondisk symlink target validation in xrep_dinode_check_dfork
* xfs: fix maximum atomic cow length computation
* xfs: add missing healthmon trace strings
* xfarray: don't crash when sorting if array element crosses a folio
* xfarray: don't allow users to unset in the middle of an array
* xfs: don't allow sorting sparse arrays
* xfs: simply the free space btree repair code
* xfarray: warn against sorting arrays with identical elements
---
fs/xfs/libxfs/xfs_metadir.h | 5 -
fs/xfs/libxfs/xfs_symlink_remote.h | 2
fs/xfs/scrub/xfarray.h | 9 +
fs/xfs/xfs_dquot.h | 3
fs/xfs/xfs_trace.h | 28 ++++
.../filesystems/xfs/xfs-online-fsck-design.rst | 13 --
fs/xfs/libxfs/xfs_dquot_buf.c | 13 --
fs/xfs/libxfs/xfs_inode_fork.c | 4 -
fs/xfs/libxfs/xfs_metadir.c | 30 ++++-
fs/xfs/libxfs/xfs_symlink_remote.c | 8 +
fs/xfs/libxfs/xfs_trans_resv.c | 38 +++---
fs/xfs/libxfs/xfs_trans_space.c | 6 -
fs/xfs/scrub/alloc_repair.c | 15 +-
fs/xfs/scrub/inode_repair.c | 26 ++++
fs/xfs/scrub/quota_repair.c | 5 -
fs/xfs/scrub/quotacheck_repair.c | 54 ++++++++
fs/xfs/scrub/xfarray.c | 133 ++++++--------------
fs/xfs/xfs_dquot.c | 27 +++-
fs/xfs/xfs_handle.c | 2
fs/xfs/xfs_qm.c | 6 -
fs/xfs/xfs_qm_syscalls.c | 17 +--
fs/xfs/xfs_reflink.c | 7 +
fs/xfs/xfs_trans_dquot.c | 6 -
23 files changed, 252 insertions(+), 205 deletions(-)
next reply other threads:[~2026-09-21 6:13 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-21 6:13 Darrick J. Wong [this message]
2026-09-21 6:15 ` [PATCH 01/14] xfs: fix missing xfs_qm_adjust_dqlimits call in quotacheck repair Darrick J. Wong
2026-09-22 5:14 ` Christoph Hellwig
2026-09-21 6:15 ` [PATCH 02/14] xfs: online quotacheck must dirty dquot if enforcement adjustments needed Darrick J. Wong
2026-09-22 5:14 ` Christoph Hellwig
2026-09-22 18:02 ` Darrick J. Wong
2026-09-21 6:15 ` [PATCH 03/14] xfs: fix buffer overruns in xfs_ioc_attr_list Darrick J. Wong
2026-09-22 5:15 ` Christoph Hellwig
2026-09-22 17:31 ` Darrick J. Wong
2026-09-21 6:16 ` [PATCH 04/14] xfs: clean up after failed metafile relinking Darrick J. Wong
2026-09-22 5:17 ` Christoph Hellwig
2026-09-22 17:33 ` Darrick J. Wong
2026-09-21 6:16 ` [PATCH 05/14] xfs: pass xfs_trans_resv object to reservation calculation helpers Darrick J. Wong
2026-09-22 5:18 ` Christoph Hellwig
2026-09-22 17:29 ` Darrick J. Wong
2026-09-22 17:34 ` Darrick J. Wong
2026-09-21 6:16 ` [PATCH 06/14] xfs: fix xfs_rename_space_res for non-pptr filesystems Darrick J. Wong
2026-09-22 5:20 ` Christoph Hellwig
2026-09-22 17:36 ` Darrick J. Wong
2026-09-21 6:16 ` [PATCH 07/14] xfs: fix ondisk symlink target validation in xrep_dinode_check_dfork Darrick J. Wong
2026-09-22 5:20 ` Christoph Hellwig
2026-09-22 20:42 ` Dave Chinner
2026-09-21 6:17 ` [PATCH 08/14] xfs: fix maximum atomic cow length computation Darrick J. Wong
2026-09-22 5:21 ` Christoph Hellwig
2026-09-22 6:53 ` Darrick J. Wong
2026-09-21 6:17 ` [PATCH 09/14] xfs: add missing healthmon trace strings Darrick J. Wong
2026-09-22 5:21 ` Christoph Hellwig
2026-09-21 6:17 ` [PATCH 10/14] xfarray: don't crash when sorting if array element crosses a folio Darrick J. Wong
2026-09-22 5:22 ` Christoph Hellwig
2026-09-22 17:53 ` Darrick J. Wong
2026-09-23 4:39 ` Christoph Hellwig
2026-09-21 6:17 ` [PATCH 11/14] xfarray: don't allow users to unset in the middle of an array Darrick J. Wong
2026-09-22 5:23 ` Christoph Hellwig
2026-09-22 6:47 ` Darrick J. Wong
2026-09-22 18:14 ` Darrick J. Wong
2026-09-21 6:18 ` [PATCH 12/14] xfs: don't allow sorting sparse arrays Darrick J. Wong
2026-09-22 5:24 ` Christoph Hellwig
2026-09-22 18:07 ` Darrick J. Wong
2026-09-21 6:18 ` [PATCH 13/14] xfs: simply the free space btree repair code Darrick J. Wong
2026-09-22 5:24 ` Christoph Hellwig
2026-09-21 6:18 ` [PATCH 14/14] xfarray: warn against sorting arrays with identical elements Darrick J. Wong
2026-09-22 5:25 ` Christoph Hellwig
2026-09-22 18:10 ` Darrick J. Wong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178996120463.181988.9152653965555322220.stgit@frogsfrogsfrogs \
--to=djwong@kernel.org \
--cc=cem@kernel.org \
--cc=linux-xfs@vger.kernel.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox