]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-fuse: enable the big writes as default
authorXiubo Li <xiubli@redhat.com>
Thu, 16 Apr 2020 10:13:17 +0000 (06:13 -0400)
committerXiubo Li <xiubli@redhat.com>
Sat, 18 Apr 2020 00:40:18 +0000 (20:40 -0400)
When the libfuse version < 3, without the big_writes options enabled
the write perf is very poor.

Fixes: https://tracker.ceph.com/issues/44885
Signed-off-by: Xiubo Li <xiubli@redhat.com>
src/common/options.cc

index 330f165328463b8e5b20fbe93d50e2f35e9dcfff..42318d266fd7d5974c5913cb0b775bf0f2dc347e 100644 (file)
@@ -8345,7 +8345,7 @@ std::vector<Option> get_mds_client_options() {
     .set_flag(Option::FLAG_STARTUP),
 
     Option("fuse_big_writes", Option::TYPE_BOOL, Option::LEVEL_ADVANCED)
-    .set_default(false)
+    .set_default(true)
     .set_description("big_writes is deprecated in libfuse 3.0.0"),
 
     Option("fuse_max_write", Option::TYPE_SIZE, Option::LEVEL_ADVANCED)