From mboxrd@z Thu Jan 1 00:00:00 1970 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZnGdFs9E5wLUWWOg1JMa9N0QyNluznmWNATzsYknr0Q=; b=LIyec0NIOuJKDWMGboMgkmgmkhn67EglsthCxsWmlf9RYTC//WJDLr7Vy9B6akgFy5 /pY8TEPsvmcaRRf0Mp7xTHdl2RZTsSGImaeyocnAgynzWcxGvsLqsREwJiTgBuXVeMKR gCX/eNXCSerXwv28pkeyih+4fi8sD4Dbr+3JHb8YpKgbmiPdQV54lnwYlKTNCEhx8yi0 4n8YVsu2R6tDYipZaKvr4rjwo9hB0LVyA7fqh/T0Hmja21mfIEtIrQ0mgHyQ+frb5BI6 1epveEqLL/UvxxR5B9RJai/8Z8CrvJ+3syulR+CWooNjO7tLF8XdnXufnjN3/8Ag+UYa uB/g== From: Masayoshi Mizuma Date: Wed, 18 Dec 2019 15:08:31 -0500 Message-Id: <20191218200833.10368-2-msys.mizuma@gmail.com> In-Reply-To: <20191218200833.10368-1-msys.mizuma@gmail.com> References: <20191218200833.10368-1-msys.mizuma@gmail.com> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Subject: [Virtio-fs] [PATCH 1/3] virtiofsd: add some options to the help message List-Id: Development discussions about virtio-fs List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: virtio-fs@redhat.com Cc: Masayoshi Mizuma From: Masayoshi Mizuma Add following options to the help message: - cache - flock|no_flock - norace - posix_lock|no_posix_lock - readdirplus|no_readdirplus - timeout - writeback|no_writeback - xattr|no_xattr Signed-off-by: Masayoshi Mizuma --- tools/virtiofsd/helper.c | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/tools/virtiofsd/helper.c b/tools/virtiofsd/helper.c index bcb8c05063..339d806e7c 100644 --- a/tools/virtiofsd/helper.c +++ b/tools/virtiofsd/helper.c @@ -147,15 +147,35 @@ void fuse_cmdline_help(void) " -f foreground operation\n" " --daemonize run in background\n" " -s disable multi-threaded operation\n" + " -o cache= cache mode. could be one of \"auto, " + "always, none\"\n" + " default: auto\n" " -o clone_fd use separate fuse device fd for " "each thread\n" " (may improve performance)\n" + " -o flock|no_flock enable/disable flock\n" + " default: no_flock\n" + " -o log_level= log level, default to \"info\"\n" + " level could be one of \"debug, " + "info, warn, err\"\n" " -o max_idle_threads the maximum number of idle worker " "threads\n" " allowed (default: 10)\n" - " -o log_level= log level, default to \"info\"\n" - " level could be one of \"debug, " - "info, warn, err\"\n"); + " -o norace disable racy fallback\n" + " default: false\n" + " -o posix_lock|no_posix_lock\n" + " enable/disable remote posix lock\n" + " default: posix_lock\n" + " -o readdirplus|no_readdirplus\n" + " enable/disable readirplus\n" + " default: readdirplus\n" + " -o timeout= I/O timeout (second)\n" + " default: depends on cache= option.\n" + " -o writeback|no_writeback enable/disable writeback cache\n" + " default: no_writeback\n" + " -o xattr|no_xattr enable/disable xattr\n" + " default: no_xattr\n" + ); } static int fuse_helper_opt_proc(void *data, const char *arg, int key, -- 2.18.1