]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs/011: increase the runtime for replace cancel
authorJosef Bacik <josef@toxicpanda.com>
Tue, 5 Mar 2024 18:52:03 +0000 (19:52 +0100)
committerZorro Lang <zlang@kernel.org>
Mon, 11 Mar 2024 04:50:09 +0000 (12:50 +0800)
commit18ecbf559bc5bf60329ec5aeb415c77a88ba6215
tree1346602a4bb21d6c094bace6b2fa988577d6303a
parent2b0216017bc2b20bf38bd3461d474c9f752b8aaa
btrfs/011: increase the runtime for replace cancel

This test exercises the btrfs replace cancel path, but in order to do
this we have to have enough work to do in order to successfully cancel
the balance, otherwise the test fails because the operation has
completed before we're able to cancel.  This test has a very low pass
rate because we do not generate a large enough file system for replace
to have enough work, passing around 5% of the time.  Increase the time
spent to 10x the time we wait for the replace to start its work before
we cancel, this allows us to consistently pass this test.

Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Anand Jain <anand.jain@oracle.com>
tests/btrfs/011