summaryrefslogtreecommitdiff
path: root/Documentation/filesystems/virtiofs.rst
diff options
context:
space:
mode:
authorMasayoshi Mizuma <m.mizuma@jp.fujitsu.com>2019-12-17 23:55:20 +0300
committerMiklos Szeredi <mszeredi@redhat.com>2020-04-20 18:01:34 +0300
commita5d8422cc9598b11054faf34772d9ce68ae204fd (patch)
tree964d0d8096c08bf6f9c45d41b8b7add175e7ecdd /Documentation/filesystems/virtiofs.rst
parentbb737bbe48bea9854455cb61ea1dc06e92ce586c (diff)
downloadlinux-a5d8422cc9598b11054faf34772d9ce68ae204fd.tar.xz
virtiofs: Add mount option and atime behavior to the doc
Add a section to show the mount option and a subsection to show the atime behavior. Signed-off-by: Masayoshi Mizuma <m.mizuma@jp.fujitsu.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'Documentation/filesystems/virtiofs.rst')
-rw-r--r--Documentation/filesystems/virtiofs.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/filesystems/virtiofs.rst b/Documentation/filesystems/virtiofs.rst
index e06e4951cb39..fd4d2484e949 100644
--- a/Documentation/filesystems/virtiofs.rst
+++ b/Documentation/filesystems/virtiofs.rst
@@ -39,6 +39,20 @@ Mount file system with tag ``myfs`` on ``/mnt``:
Please see https://virtio-fs.gitlab.io/ for details on how to configure QEMU
and the virtiofsd daemon.
+Mount options
+-------------
+
+virtiofs supports general VFS mount options, for example, remount,
+ro, rw, context, etc. It also supports FUSE mount options.
+
+atime behavior
+^^^^^^^^^^^^^^
+
+The atime-related mount options, for example, noatime, strictatime,
+are ignored. The atime behavior for virtiofs is the same as the
+underlying filesystem of the directory that has been exported
+on the host.
+
Internals
=========
Since the virtio-fs device uses the FUSE protocol for file system requests, the