]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_scrub: use parent pointers to report lost file data
authorDarrick J. Wong <djwong@kernel.org>
Mon, 29 Jul 2024 23:23:22 +0000 (16:23 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:01:11 +0000 (17:01 -0700)
commit9b5d1349ca5fb16b0913f05390e96823f2d201ce
tree9f1d3c58f7d0c28af53fe005267d086c7a62e74f
parent9a8b09762f9a52342e145e52d7bc58d28db754b4
xfs_scrub: use parent pointers to report lost file data

If parent pointers are enabled, compute the path to the file while we're
doing the fsmap scan and report that, instead of walking the entire
directory tree to print the paths of the (hopefully few) files that lost
data.

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