]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc1c6b690e5fc9153db3c79d7929d1419b1bdbfe8
treee8ac77fa2a067444e17deb1ca84811dec3f1a596
parenta933dcee731f4105a5807021dd6a2f9b18770b45
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