From 143c3b3b4f2986cd688f12f37c38938e76c9a1be Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Sat, 16 Jul 2016 16:09:47 +0200 Subject: [PATCH] Use large reads and large write --- src/fspp/fuse/Fuse.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/fspp/fuse/Fuse.cpp b/src/fspp/fuse/Fuse.cpp index e5209ffb..c9a5e391 100644 --- a/src/fspp/fuse/Fuse.cpp +++ b/src/fspp/fuse/Fuse.cpp @@ -249,6 +249,10 @@ vector Fuse::_build_argv(const bf::path &mountdir, const vector } _add_fuse_option_if_not_exists(&argv, "subtype", _fstype); _add_fuse_option_if_not_exists(&argv, "fsname", _fsname.get_value_or(_fstype)); + argv.push_back(_create_c_string("-o")); + argv.push_back(_create_c_string("large_read")); + argv.push_back(_create_c_string("-o")); + argv.push_back(_create_c_string("big_writes")); return argv; }