Merge tag 'intents-perag-refs-6.4_2023-04-11' of git://git.kernel.org/pub/scm/linux...
authorDave Chinner <david@fromorbit.com>
Thu, 13 Apr 2023 21:08:38 +0000 (07:08 +1000)
committerDave Chinner <dchinner@redhat.com>
Thu, 13 Apr 2023 21:08:38 +0000 (07:08 +1000)
commit826053db98ec6ea2469f02571401422da539e5e3
tree3fae119ae64e75e774b4ab108c3ee7f0f06e73b4
parentbed25d8010bcf48de626545a89ea58550fb5e95b
parent00e7b3bac1dc8961bd5aa9d39e79131c6bd81181
Merge tag 'intents-perag-refs-6.4_2023-04-11' of git://git./linux/kernel/git/djwong/xfs-linux into guilt/xfs-for-next

xfs: make intent items take a perag reference [v24.5]

Now that we've cleaned up some code warts in the deferred work item
processing code, let's make intent items take an active perag reference
from their creation until they are finally freed by the defer ops
machinery.  This change facilitates the scrub drain in the next patchset
and will make it easier for the future AG removal code to detect a busy
AG in need of quiescing.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/libxfs/xfs_bmap.c