]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephfs/fuse: set big_writes default is false 16562/head
authorhuanwen ren <ren.huanwen@zte.com.cn>
Thu, 3 Aug 2017 02:25:31 +0000 (10:25 +0800)
committerhuanwen ren <ren.huanwen@zte.com.cn>
Thu, 3 Aug 2017 02:25:31 +0000 (10:25 +0800)
The -o big_writes mount option has been removed in the libfuse 3.0
because it is now always active.
see: https://github.com/libfuse/libfuse/blob/master/ChangeLog.rst
so we big_writes default is false

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
src/common/options.cc

index 85b5a099e300c9a342bb6b81995f4cf1ed209fd1..6d248602863f454e2f032ba1c292a062b3b47e77 100644 (file)
@@ -5613,8 +5613,8 @@ std::vector<Option> get_mds_client_options() {
     .set_description(""),
 
     Option("fuse_big_writes", Option::TYPE_BOOL, Option::LEVEL_ADVANCED)
-    .set_default(true)
-    .set_description(""),
+    .set_default(false)
+    .set_description("big_writes is deprecated in libfuse 3.0.0"),
 
     Option("fuse_atomic_o_trunc", Option::TYPE_BOOL, Option::LEVEL_ADVANCED)
     .set_default(true)