summaryrefslogtreecommitdiffstats
path: root/docs/tools/virtiofsd.rst
diff options
context:
space:
mode:
authorVivek Goyal2020-07-27 18:18:41 +0200
committerDr. David Alan Gilbert2020-08-28 14:34:52 +0200
commit88fc107956a5812649e5918e0c092d3f78bb28ad (patch)
tree4b8a8b267b539c3303f7e1dcfa5c61c77543e17a /docs/tools/virtiofsd.rst
parentmigration: tls: fix memory leak in migration_tls_get_creds (diff)
downloadqemu-88fc107956a5812649e5918e0c092d3f78bb28ad.tar.gz
qemu-88fc107956a5812649e5918e0c092d3f78bb28ad.tar.xz
qemu-88fc107956a5812649e5918e0c092d3f78bb28ad.zip
virtiofsd: Disable remote posix locks by default
Right now we enable remote posix locks by default. That means when guest does a posix lock it sends request to server (virtiofsd). But currently we only support non-blocking posix lock and return -EOPNOTSUPP for blocking version. This means that existing applications which are doing blocking posix locks get -EOPNOTSUPP and fail. To avoid this, people have been running virtiosd with option "-o no_posix_lock". For new users it is still a surprise and trial and error takes them to this option. Given posix lock implementation is not complete in virtiofsd, disable it by default. This means that posix locks will work with-in applications in a guest but not across guests. Anyway we don't support sharing filesystem among different guests yet in virtiofs so this should not lead to any kind of surprise or regression and will make life little easier for virtiofs users. Reported-by: Aa Aa <jimbothom@yandex.com> Suggested-by: Miklos Szeredi <mszeredi@redhat.com> Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Misono Tomohiro <misono.tomohiro@jp.fujitsu.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'docs/tools/virtiofsd.rst')
-rw-r--r--docs/tools/virtiofsd.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tools/virtiofsd.rst b/docs/tools/virtiofsd.rst
index 824e713491..2cfdfd9ba2 100644
--- a/docs/tools/virtiofsd.rst
+++ b/docs/tools/virtiofsd.rst
@@ -67,7 +67,7 @@ Options
Disable racy fallback. The default is false.
* posix_lock|no_posix_lock -
- Enable/disable remote POSIX locks. The default is ``posix_lock``.
+ Enable/disable remote POSIX locks. The default is ``no_posix_lock``.
* readdirplus|no_readdirplus -
Enable/disable readdirplus. The default is ``readdirplus``.