Docfix: add missing virtiofsd cache default 'auto'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The usage command line for virtiofsd has:
void fuse_cmdline_
{
printf(" -h --help print help\n"
...
" -o cache=<mode> cache mode. could be one of \"auto, "
"always, none\"\n"
" default: auto\n"
But the default: auto info is missing from the man page. I suggest this patch:
--- docs/tools/
+++ /tmp/virtiofsd.rst 2020-09-12 11:48:10.440815204 -0500
@@ -106,6 +106,7 @@
forbids the FUSE client from caching to achieve best coherency at the cost of
performance. ``auto`` acts similar to NFS with a 1 second metadata cache
timeout. ``always`` sets a long cache lifetime at the expense of coherency.
+ The default is ``auto``.
Examples
--------
On Sat, Sep 12, 2020 at 04:53:54PM -0000, Harry Coin wrote: help(void) virtiofsd. rst 2020-09-10 18:07:45.380430677 -0500
> Public bug reported:
>
> The usage command line for virtiofsd has:
>
> void fuse_cmdline_
> {
> printf(" -h --help print help\n"
> ...
> " -o cache=<mode> cache mode. could be one of \"auto, "
> "always, none\"\n"
> " default: auto\n"
>
>
> But the default: auto info is missing from the man page. I suggest this patch:
>
> --- docs/tools/
> +++ /tmp/virtiofsd.rst 2020-09-12 11:48:10.440815204 -0500
> @@ -106,6 +106,7 @@
> forbids the FUSE client from caching to achieve best coherency at the cost of
> performance. ``auto`` acts similar to NFS with a 1 second metadata cache
> timeout. ``always`` sets a long cache lifetime at the expense of coherency.
> + The default is ``auto``.
>
> Examples
> --------
>
Thanks, that looks good.
Please either submit a patch /wiki.qemu. org/Contribute/ SubmitAPatch) or reply with a line in
(https:/
the following format so I can send a patch on your behalf:
Signed-off-by: Full Name <email address hidden>
The "Signed-off-by:" tag indicates that you are contributing under the /developercerti ficate. org/) that
Developer Certificate of Origin (https:/
QEMU, Linux, and other open source projects use.