]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: detect and repair misaligned rtinherit directory cowextsize hints
authorDarrick J. Wong <djwong@kernel.org>
Tue, 15 Oct 2024 19:40:36 +0000 (12:40 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 1 Nov 2024 20:47:13 +0000 (13:47 -0700)
commit4bf56efd5001e562cd47d5bde8aa576e531a2ede
tree3af60e265e7e9fe58b828586694e6812a6601a30
parent011748c4953e4ad3bdba66dd9a7ab978a0098016
xfs: detect and repair misaligned rtinherit directory cowextsize hints

If we encounter a directory that has been configured to pass on a CoW
extent size hint to a new realtime file and the hint isn't an integer
multiple of the rt extent size, we should flag the hint for
administrative review and/or turn it off because that is a
misconfiguration.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/scrub/inode.c
fs/xfs/scrub/inode_repair.c