This was revmoed by b1281f6 without notice. Also refind the help message. Signed-off-by: Liu Yuan <namei.unix at gmail.com> --- v2: - split it from 'add reweight' series sheep/sheep.c | 2 +- tests/common.config | 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.config b/tests/common.config index 3ee4c4c..76166e6 100644 --- a/tests/common.config +++ b/tests/common.config @@ -77,7 +77,7 @@ export WD=${WD:-/tmp/sheepdog} export STORE export SHEEP_PROG=${SHEEP_PROG:-../sheep/sheep} export SHEEP=${SHEEP:-$SHEEP_PROG} -export SHEEP_OPTIONS=${SHEEP_OPTIONS:-"-y 127.0.0.1 -d"} +export SHEEP_OPTIONS=${SHEEP_OPTIONS:-"-n -y 127.0.0.1 -d"} export COLLIE_PROG=${COLLIE_PROG:-../collie/collie} export COLLIE=${COLLIE:-$COLLIE_PROG} -- 1.7.9.5 |