]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_db: disable xfs_check when metadir is enabled
authorDarrick J. Wong <djwong@kernel.org>
Thu, 21 Nov 2024 00:24:15 +0000 (16:24 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:26 +0000 (18:01 -0800)
commitd9e3a0008ef0d4cfff4b976b50d5e8a06d764ea5
tree95772d68cc1394f3427ae14872e605ed95759d01
parent5e48ae67001112397eb9b89b0c21991349641b72
xfs_db: disable xfs_check when metadir is enabled

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.

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