]> git-server-git.apps.pok.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)
committerNathan Cutler <ncutler@suse.com>
Mon, 27 Apr 2020 10:48:18 +0000 (12:48 +0200)
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>
(cherry picked from commit 1c3dd60f217129f6ed718ca40098994a12259262)

src/common/options.cc

index 085fdf456df253000a278bb791ee2d296e4800a9..e490cb3703a1c8d0f5b178209f1d9efc0a2f0687 100644 (file)
@@ -8364,7 +8364,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)