]> 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)
commita0d8554189a71e1c417fcc11d740a252642ca8f4
treee8ac77fa2a067444e17deb1ca84811dec3f1a596
parentb90731047afcf582b4d5595a198bd413bdb8bf0f
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