All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: Masayoshi Mizuma <msys.mizuma@gmail.com>
Cc: virtio-fs@redhat.com, Masayoshi Mizuma <m.mizuma@jp.fujitsu.com>
Subject: Re: [Virtio-fs] [PATCH 1/3] virtiofsd: add some options to the help message
Date: Fri, 10 Jan 2020 17:38:48 +0000	[thread overview]
Message-ID: <20200110173848.GM3901@work-vm> (raw)
In-Reply-To: <20191218200833.10368-2-msys.mizuma@gmail.com>

* Masayoshi Mizuma (msys.mizuma@gmail.com) wrote:
> From: Masayoshi Mizuma <m.mizuma@jp.fujitsu.com>
> 
> 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 <m.mizuma@jp.fujitsu.com>


Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>

Thanks, I've split this up, so where the option was added by one of our
own patches, that patch now includes the update to this function.
Which leaves just flock, timeout, writeback, and xattr in this patch.

> ---
>  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=<mode>            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=<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=<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=<number>        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
> 
> 
> _______________________________________________
> Virtio-fs mailing list
> Virtio-fs@redhat.com
> https://www.redhat.com/mailman/listinfo/virtio-fs
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK


  reply	other threads:[~2020-01-10 17:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-18 20:08 [Virtio-fs] [PATCH 0/3] Add some option descriptions to help and man page Masayoshi Mizuma
2019-12-18 20:08 ` [Virtio-fs] [PATCH 1/3] virtiofsd: add some options to the help message Masayoshi Mizuma
2020-01-10 17:38   ` Dr. David Alan Gilbert [this message]
2019-12-18 20:08 ` [Virtio-fs] [PATCH 2/3] virtiofsd: add some options to the man page Masayoshi Mizuma
2020-01-10 17:54   ` Dr. David Alan Gilbert
2019-12-18 20:08 ` [Virtio-fs] [PATCH 3/3] virtiofsd: remove --writeback option from " Masayoshi Mizuma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200110173848.GM3901@work-vm \
    --to=dgilbert@redhat.com \
    --cc=m.mizuma@jp.fujitsu.com \
    --cc=msys.mizuma@gmail.com \
    --cc=virtio-fs@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.