xfs: only walk the incore inode tree once per blockgc scan
authorDarrick J. Wong <djwong@kernel.org>
Sat, 23 Jan 2021 00:48:43 +0000 (16:48 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 3 Feb 2021 17:18:49 +0000 (09:18 -0800)
commit419567534e16eb553e7c19eecaa4d03cbc6693be
treee8ac77fa2a067444e17deb1ca84811dec3f1a596
parent9669f51de5c0c93e79257f690d1feaf16ebc179b
xfs: only walk the incore inode tree once per blockgc scan

Perform background block preallocation gc scans more efficiently by
walking the incore inode tree once.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_icache.c