Skip to content

Commit

Permalink
cephfs/fuse: remove "-o big_writes" mount option
Browse files Browse the repository at this point in the history
The -o big_writes mount option has been removed,
because it is now always active.
see: https://github.com/libfuse/libfuse/blob/master/ChangeLog.rst

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
  • Loading branch information
renhwztetecs committed Jul 26, 2017
1 parent 6ce96c7 commit a1196fd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions src/client/fuse_ll.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1066,10 +1066,6 @@ int CephFuse::Handle::init(int argc, const char *argv[])
newargv[newargc++] = "default_permissions";
}
#if defined(__linux__)
if (client->cct->_conf->fuse_big_writes) {
newargv[newargc++] = "-o";
newargv[newargc++] = "big_writes";
}
if (client->cct->_conf->fuse_atomic_o_trunc) {
newargv[newargc++] = "-o";
newargv[newargc++] = "atomic_o_trunc";
Expand Down
4 changes: 0 additions & 4 deletions src/common/options.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5471,10 +5471,6 @@ std::vector<Option> mds_client_options = {
.set_default(false)
.set_description(""),

Option("fuse_big_writes", Option::TYPE_BOOL, Option::LEVEL_ADVANCED)
.set_default(true)
.set_description(""),

Option("fuse_atomic_o_trunc", Option::TYPE_BOOL, Option::LEVEL_ADVANCED)
.set_default(true)
.set_description(""),
Expand Down

0 comments on commit a1196fd

Please sign in to comment.