Skip to content

Commit

Permalink
cephfs/fuse: set big_writes default is false
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
renhwztetecs committed Jul 28, 2017
1 parent 6ce96c7 commit f40db34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/options.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5472,8 +5472,8 @@ std::vector<Option> 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)
Expand Down

0 comments on commit f40db34

Please sign in to comment.