projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9681480
)
virtiofsd: enable PARALLEL_DIROPS during INIT
author
Liu Bo
<bo.liu@linux.alibaba.com>
Fri, 7 Jun 2019 02:38:18 +0000
(10:38 +0800)
committer
Dr. David Alan Gilbert
<dgilbert@redhat.com>
Thu, 23 Jan 2020 16:41:37 +0000
(16:41 +0000)
lookup is a RO operations, PARALLEL_DIROPS can be enabled.
Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
tools/virtiofsd/fuse_lowlevel.c
patch
|
blob
|
history
diff --git
a/tools/virtiofsd/fuse_lowlevel.c
b/tools/virtiofsd/fuse_lowlevel.c
index aac282f27859a6ec239092f8422203f71b9589d9..70568d22a4bdf1fda01461fe1d4e049de6d46fa4 100644
(file)
--- a/
tools/virtiofsd/fuse_lowlevel.c
+++ b/
tools/virtiofsd/fuse_lowlevel.c
@@
-2062,6
+2062,9
@@
static void do_init(fuse_req_t req, fuse_ino_t nodeid,
if (se->conn.want & FUSE_CAP_ASYNC_READ) {
outarg.flags |= FUSE_ASYNC_READ;
}
+ if (se->conn.want & FUSE_CAP_PARALLEL_DIROPS) {
+ outarg.flags |= FUSE_PARALLEL_DIROPS;
+ }
if (se->conn.want & FUSE_CAP_POSIX_LOCKS) {
outarg.flags |= FUSE_POSIX_LOCKS;
}