summaryrefslogtreecommitdiffstats
path: root/xlators/mount/fuse/src/fuse-bridge.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mount/fuse/src/fuse-bridge.c')
-rw-r--r--xlators/mount/fuse/src/fuse-bridge.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c
index ed9cf1a2c60..e938db72f52 100644
--- a/xlators/mount/fuse/src/fuse-bridge.c
+++ b/xlators/mount/fuse/src/fuse-bridge.c
@@ -2641,6 +2641,11 @@ init (xlator_t *this_xl)
ret = fuse_opt_add_arg(&args, "-ononempty");
if (ret != -1)
ret = fuse_opt_add_arg(&args, "-odev");
+#ifdef HAVE_FUSE_VERSION_28
+ if (ret != -1)
+ ret = fuse_opt_add_arg(&args, "-obig_writes");
+#endif /* FUSE 2.8 */
+
#endif /* LINUX */
#endif /* ! DARWIN_OS */