[PATCHSET RFC 6.12] xfs: bug fixes for 6.12.y LTS

"Darrick J. Wong" <[email protected]> Tue, 04 Feb 2025 10:51:15 -0800
Newsgroups dev.linux.lists.xfs-stable,org.kernel.vger.linux-xfs,org.kernel.vger.stable
Message-ID <173869499323.410229.9898612619797978336.stgit@frogsfrogsfrogs>
Hi all,

Here's a bunch of bespoke hand-ported bug fixes for 6.12 LTS.

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=next-6.12.y
---
Commits in this patchset:
 * xfs: avoid nested calls to __xfs_trans_commit
 * xfs: don't lose solo superblock counter update transactions
 * xfs: don't lose solo dquot update transactions
 * xfs: separate dquot buffer reads from xfs_dqflush
 * xfs: clean up log item accesses in xfs_qm_dqflush{,_done}
 * xfs: attach dquot buffer to dquot log item buffer
 * xfs: convert quotacheck to attach dquot buffers
 * xfs: don't over-report free space or inodes in statvfs
 * xfs: release the dquot buf outside of qli_lock
 * xfs: lock dquot buffer before detaching dquot from b_li_list
---
 fs/xfs/xfs_dquot.c       |  199 +++++++++++++++++++++++++++++++++++++++-------
 fs/xfs/xfs_dquot.h       |    6 +
 fs/xfs/xfs_dquot_item.c  |   51 +++++++++---
 fs/xfs/xfs_dquot_item.h  |    7 ++
 fs/xfs/xfs_qm.c          |   48 +++++++++--
 fs/xfs/xfs_qm_bhv.c      |   27 ++++--
 fs/xfs/xfs_quota.h       |    7 +-
 fs/xfs/xfs_trans.c       |   39 +++++----
 fs/xfs/xfs_trans_ail.c   |    2 
 fs/xfs/xfs_trans_dquot.c |   31 ++++++-
 10 files changed, 328 insertions(+), 89 deletions(-)