]> 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>
Tue, 5 Nov 2024 21:36:33 +0000 (13:36 -0800)
commita86150b841100ad46dcb63db0387e3e67628713f
tree5a82045a31c5dff38b584bc26bfdcb44fa9217ed
parentb678fa296af9b9aa39e61507c87ee7c50c876be0
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