]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs: test xfs_growfs with too-small size expansion
authorZorro Lang <zlang@kernel.org>
Sun, 28 Jan 2024 15:56:53 +0000 (23:56 +0800)
committerZorro Lang <zlang@kernel.org>
Mon, 5 Feb 2024 06:21:21 +0000 (14:21 +0800)
commit7e1ca29d30389f385086f7be2c6547d05b208afd
treee99ece523bf1d7dd847ca5ae8b4d6615861832f1
parentc689690fa3b0d68f4a931bbfe5f12df799ad7768
xfs: test xfs_growfs with too-small size expansion

This's a regression test of 84712492e6da ("xfs: short circuit
xfs_growfs_data_private() if delta is zero").

If try to do growfs with "too-small" size expansion, might lead to a
delta of "0" in xfs_growfs_data_private(), then end up in the shrink
case and emit the EXPERIMENTAL warning even if we're not changing
anything at all.

Signed-off-by: Zorro Lang <zlang@redhat.com>
Reviewed-by: David Disseldorp <ddiss@suse.de>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/xfs/606 [new file with mode: 0755]
tests/xfs/606.out [new file with mode: 0644]