]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: check metadata directory file path connectivity
authorDarrick J. Wong <djwong@kernel.org>
Mon, 25 Nov 2024 21:14:18 +0000 (13:14 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:25 +0000 (18:01 -0800)
commitbfc916d8ef514719a2821bb3060f591f77404b15
tree62920ec584a6370b97e6f183078fa1f0dc3e9dc2
parent261690fea209af252a6d36bcdbd4ae7e69c9b1b2
xfs: check metadata directory file path connectivity

Source kernel commit: b3c03efa5972f084e40104307dbe432359279cf2

Create a new scrubber type that checks that well known metadata
directory paths are connected to the metadata inode that the incore
structures think is in use.  For example, check that "/quota/user" in
the metadata directory tree actually points to
mp->m_quotainfo->qi_uquotaip->i_ino.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
libxfs/xfs_fs.h
libxfs/xfs_health.h