]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: detect and repair misaligned rtinherit directory cowextsize hints
authorDarrick J. Wong <djwong@kernel.org>
Thu, 15 Aug 2024 18:49:41 +0000 (11:49 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 16 Aug 2024 21:54:35 +0000 (14:54 -0700)
commitae69b7caa0acb13f5ce9ef36d7b600bd4b99f4cd
tree61c1d74f40af97edbc10d306d5895fe5325591d2
parentc8886e0d974fafd62e296d07619959246a8592e7
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