]> www.infradead.org Git - users/hch/misc.git/commit
xfs: convert quotacheck to attach dquot buffers
authorDarrick J. Wong <djwong@kernel.org>
Mon, 2 Dec 2024 18:57:39 +0000 (10:57 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 13 Dec 2024 01:45:12 +0000 (17:45 -0800)
commitca378189fdfa890a4f0622f85ee41b710bbac271
tree2765763b07150bb85cc1ac1ff5ef09ce9c4b1764
parentacc8f8628c3737108f36e5637f4d5daeaf96d90e
xfs: convert quotacheck to attach dquot buffers

Now that we've converted the dquot logging machinery to attach the dquot
buffer to the li_buf pointer so that the AIL dqflush doesn't have to
allocate or read buffers in a reclaim path, do the same for the
quotacheck code so that the reclaim shrinker dqflush call doesn't have
to do that either.

Cc: <stable@vger.kernel.org> # v6.12
Fixes: 903edea6c53f09 ("mm: warn about illegal __GFP_NOFAIL usage in a more appropriate location and manner")
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_dquot.c
fs/xfs/xfs_dquot.h
fs/xfs/xfs_qm.c