]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: detect and repair misaligned rtinherit directory cowextsize hints
authorDarrick J. Wong <djwong@kernel.org>
Wed, 29 May 2024 04:13:24 +0000 (21:13 -0700)
committerChristoph Hellwig <hch@lst.de>
Mon, 12 Aug 2024 11:53:10 +0000 (13:53 +0200)
commite930e94a380f539a2bc20bc47ef3f045699bdfbc
treefb2289331d06d51464aac5f43593f93a0c33e207
parent79e99cbac899e484dbb5a4aeee613e7b3b7cb69f
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