diff options
Diffstat (limited to 'example/passthrough_ll.c')
-rw-r--r-- | example/passthrough_ll.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/example/passthrough_ll.c b/example/passthrough_ll.c index 070cef1..afac6ea 100644 --- a/example/passthrough_ll.c +++ b/example/passthrough_ll.c @@ -775,6 +775,8 @@ static void lo_create(fuse_req_t req, fuse_ino_t parent, const char *name, else if (lo->cache == CACHE_ALWAYS) fi->keep_cache = 1; + fi->parallel_direct_writes = 1; + err = lo_do_lookup(req, parent, name, &e); if (err) fuse_reply_err(req, err); @@ -831,6 +833,9 @@ static void lo_open(fuse_req_t req, fuse_ino_t ino, struct fuse_file_info *fi) fi->direct_io = 1; else if (lo->cache == CACHE_ALWAYS) fi->keep_cache = 1; + + fi->parallel_direct_writes = 1; + fuse_reply_open(req, fi); } |