virtiofsd: enable PARALLEL_DIROPS during INIT
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>
This commit is contained in:
parent
96814800d2
commit
b7ed733a38
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user