]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: detect and repair misaligned rtinherit directory cowextsize hints
authorDarrick J. Wong <djwong@kernel.org>
Thu, 21 Nov 2024 00:21:09 +0000 (16:21 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 23 Dec 2024 21:06:15 +0000 (13:06 -0800)
commita9600db96f74af50cc025a02e9e39a9515e2256d
tree64a0caeb5e4bc1bc771ff34790786edd0fb62c4d
parent48bc170f2cb54371a062d2fae6d9518f6f47d878
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>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/scrub/inode.c
fs/xfs/scrub/inode_repair.c