aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/passthrough_hp.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/example/passthrough_hp.cc b/example/passthrough_hp.cc
index 96201d6..66fe6f8 100644
--- a/example/passthrough_hp.cc
+++ b/example/passthrough_hp.cc
@@ -212,6 +212,10 @@ static void sfs_init(void *userdata, fuse_conn_info *conn) {
if (conn->capable & FUSE_CAP_SPLICE_READ)
conn->want |= FUSE_CAP_SPLICE_READ;
}
+
+ /* This is a local file system - no network coherency needed */
+ if (conn->capable & FUSE_CAP_DIRECT_IO_ALLOW_MMAP)
+ conn->want |= FUSE_CAP_DIRECT_IO_ALLOW_MMAP;
}