[sheepdog] [PATCH 2/2] tests/008: read vdi in paralell
MORITA Kazutaka
morita.kazutaka at gmail.com
Sat May 4 11:11:34 CEST 2013
From: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
We can read each vdi in parallel for better performance.
Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
tests/008 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/008 b/tests/008
index c09863f..7e207e5 100755
--- a/tests/008
+++ b/tests/008
@@ -59,8 +59,9 @@ wait
for i in `seq 0 4`; do
for port in `seq 0 7`; do
- $COLLIE vdi read test$i -p 700$port | md5sum > /tmp/csum.$port
+ $COLLIE vdi read test$i -p 700$port | md5sum > /tmp/csum.$port &
done
+ wait
for port in `seq 1 7`; do
diff -u /tmp/csum.0 /tmp/csum.$port
done
--
1.7.9.5
More information about the sheepdog
mailing list