From: Xiao Yang <yangx...@cn.fujitsu.com>

Also add a hint that user should start 'ireg' daemon before using shared cache.

Signed-off-by: Xiao Yang <yangx...@cn.fujitsu.com>
---
 tools/virtiofsd/helper.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/virtiofsd/helper.c b/tools/virtiofsd/helper.c
index 819c2bc13c..0aa02b99b0 100644
--- a/tools/virtiofsd/helper.c
+++ b/tools/virtiofsd/helper.c
@@ -171,6 +171,10 @@ void fuse_cmdline_help(void)
            "                               default: no_writeback\n"
            "    -o xattr|no_xattr          enable/disable xattr\n"
            "                               default: no_xattr\n"
+           "    -o shared|no_shared        enable/disable shared cache\n"
+           "                               default: no_shared\n"
+           "                               please start 'ireg' daemon before "
+           "using shared cache\n"
            );
 }
 
-- 
2.21.0



_______________________________________________
Virtio-fs mailing list
Virtio-fs@redhat.com
https://www.redhat.com/mailman/listinfo/virtio-fs

Reply via email to