From 85ef614b37bafd3c91c9fb6e6cfb6c40d6f80f99 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 6 Mar 2015 13:29:35 +0100 Subject: [PATCH] tests: slightly more efficient vgcreate With larger set of devices it's faster to directly call vgcreate on empty set of devices then going though separate pvcreate call first. --- test/lib/aux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/aux.sh b/test/lib/aux.sh index d3a33829b..339da31b6 100644 --- a/test/lib/aux.sh +++ b/test/lib/aux.sh @@ -576,7 +576,7 @@ prepare_pvs() { prepare_vg() { teardown_devs - prepare_pvs "$@" + prepare_devs "$@" vgcreate -s 512K $vg "${DEVICES[@]}" }