[sheepdog] [PATCH v3 13/13] tests: add '-n' back
Liu Yuan
namei.unix at gmail.com
Mon May 27 13:36:16 CEST 2013
This was revmoed by b1281f6 without notice.
Also refind the help message.
Signed-off-by: Liu Yuan <namei.unix at gmail.com>
---
sheep/sheep.c | 2 +-
tests/common.rc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sheep/sheep.c b/sheep/sheep.c
index 2461f16..0fe8188 100644
--- a/sheep/sheep.c
+++ b/sheep/sheep.c
@@ -52,7 +52,7 @@ static struct sd_option sheep_options[] = {
{'i', "ioaddr", true, "use separate network card to handle IO requests"},
{'j', "journal", true, "use jouranl file to log all the write operations"},
{'l', "loglevel", true, "specify the level of logging detail"},
- {'n', "nosync", false, "drop SYNC for write, only used for testing purpose"},
+ {'n', "nosync", false, "drop O_SYNC for write of backend"},
{'o', "stdout", false, "log to stdout instead of shared logger"},
{'p', "port", true, "specify the TCP port on which to listen"},
{'P', "pidfile", true, "create a pid file"},
diff --git a/tests/common.rc b/tests/common.rc
index 9ffde77..3717efe 100644
--- a/tests/common.rc
+++ b/tests/common.rc
@@ -279,7 +279,7 @@ _start_sheep()
MD=",$STORE/$1/d0,$STORE/$1/d1,$STORE/$1/d2"
fi
- $SHEEP $STORE/$1$MD -z $1 -p $((7000+$1)) -c $DRIVER $SHEEP_OPTIONS $2
+ $SHEEP $STORE/$1$MD -n -z $1 -p $((7000+$1)) -c $DRIVER $SHEEP_OPTIONS $2
if [ $? != 0 ]; then
_die "cannot start sheep $1"
--
1.7.9.5
More information about the sheepdog
mailing list