From 6d62abb99b6b918f05f099b01a99f4326a69d650 Mon Sep 17 00:00:00 2001 From: "Dr. David Alan Gilbert" Date: Mon, 27 Jan 2020 19:02:26 +0100 Subject: [PATCH 115/116] virtiofsd: add some options to the help message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit RH-Author: Dr. David Alan Gilbert Message-id: <20200127190227.40942-112-dgilbert@redhat.com> Patchwork-id: 93565 O-Subject: [RHEL-AV-8.2 qemu-kvm PATCH 111/112] virtiofsd: add some options to the help message Bugzilla: 1694164 RH-Acked-by: Philippe Mathieu-Daudé RH-Acked-by: Stefan Hajnoczi RH-Acked-by: Sergio Lopez Pascual 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 dgilbert: Split cache, norace, posix_lock, readdirplus off into our own earlier patches that added the options Reviewed-by: Dr. David Alan Gilbert Reviewed-by: Misono Tomohiro Signed-off-by: Dr. David Alan Gilbert (cherry picked from commit 1d59b1b210d7c3b0bdf4b10ebe0bb1fccfcb8b95) Signed-off-by: Miroslav Rezanina --- tools/virtiofsd/helper.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tools/virtiofsd/helper.c b/tools/virtiofsd/helper.c index f98d8f2..0801cf7 100644 --- a/tools/virtiofsd/helper.c +++ b/tools/virtiofsd/helper.c @@ -148,6 +148,8 @@ void fuse_cmdline_help(void) " -o cache= cache mode. could be one of \"auto, " "always, none\"\n" " default: auto\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" @@ -163,7 +165,13 @@ void fuse_cmdline_help(void) " enable/disable readirplus\n" " default: readdirplus except with " "cache=none\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, -- 1.8.3.1