aboutsummaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-08-29 07:08:41 +0300
committerChandan Babu R <chandanbabu@kernel.org>2024-09-03 10:07:46 +0530
commit866cf1dd3d5cc03e6544a9582ef9c79ecdfc92c0 (patch)
treeb4f058db8fc198d757a389991343497298d416b5 /mm
parent32fa4059fe6776d7db1e9058f360e06b36c9f2ce (diff)
xfs: use xas_for_each_marked in xfs_reclaim_inodes_count
xfs_reclaim_inodes_count iterates over all AGs to sum up the reclaimable inodes counts. There is no point in grabbing a reference to the them or unlock the RCU critical section for each iteration, so switch to the more efficient xas_for_each_marked iterator. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions