Re: [PATCH 09/41] xfs_db: disable xfs_check when metadir is enabled

Christoph Hellwig
2024-12-10T04:55:35Z

On Fri, Dec 06, 2024 at 03:41:59PM -0800, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong@kernel.org>
>
> As of July 2024, xfs_repair can detect more types of corruptions than
> xfs_check does. I don't think it makes sense to maintain the xfs_check
> code anymore, so let's just turn it off for any filesystem that has
> metadata directory trees.

Puh, long overdue. Would be great to also have a deprecation schedule
for it in general..

Reviewed-by: Christoph Hellwig <hch@lst.de>

> +
> check_rootdir();
> /*
> * Check that there are no blocks either
>
>
---end quoted text---