]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_scrub: don't fail while reporting media scan errors
authorDarrick J. Wong <djwong@kernel.org>
Mon, 15 Apr 2024 23:07:46 +0000 (16:07 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 17 Apr 2024 21:06:27 +0000 (14:06 -0700)
commit4d0ce76d3acb38c71fb1e1eb94a36fb1697f1674
tree4cafe357de4f06e00a1b8ae178840810972826ed
parent13eedd45afb39354a9fe5089d86f4eff1a94ac79
xfs_scrub: don't fail while reporting media scan errors

If we can't open a file to report that it has media errors, just log
that fact and move on.  In this case we want to keep going with phase 6
so we report as many errors as possible.

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