]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs/614: fix test for parent pointers
authorDarrick J. Wong <djwong@kernel.org>
Wed, 21 Jan 2026 01:27:00 +0000 (17:27 -0800)
committerZorro Lang <zlang@kernel.org>
Sun, 25 Jan 2026 16:05:29 +0000 (00:05 +0800)
commit754368070ac5e548de9ad331bd686b61fa98e437
tree84433c1eb30f01b125fcb453a6f7ce37738f0f8c
parent42c2ccaf370065c15d2f26e99f502a62c1a7c7f7
xfs/614: fix test for parent pointers

Almost a decade ago, the initial rmap/reflink patches were merged with
hugely overestimated log space reservations.  Although we adjusted the
actual runtime reservations a few years ago, we left the minimum log
size calculations in place to avoid compatibility problems between newer
mkfs and older kernels.

With the introduction of parent pointers, we can finally use the more
accurate reservations for minlog computations and mkfs can format
smaller logs as a result.  This causes the output of this test to
change, though it wasn't needed until parent pointers were enabled by
default.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/xfs
tests/xfs/614
tests/xfs/614.cfg
tests/xfs/614.out.lba1024_parent [new file with mode: 0644]
tests/xfs/614.out.lba2048_parent [new file with mode: 0644]
tests/xfs/614.out.lba4096_parent [new file with mode: 0644]
tests/xfs/614.out.lba512_parent [new file with mode: 0644]