Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cephfs/fuse: set big_writes default is false #16562

Merged
merged 1 commit into from Sep 6, 2017

Conversation

renhwztetecs
Copy link
Contributor

@renhwztetecs renhwztetecs commented Jul 25, 2017

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

@renhwztetecs
Copy link
Contributor Author

@batrick @ukernel
I'm not sure if I add "-o max_write" fuse mount option to replace “-o big_writes”
in addition, whether the fuse supports "-o secret"?

@batrick batrick added cephfs Ceph File System needs-review labels Jul 25, 2017
@batrick
Copy link
Member

batrick commented Jul 25, 2017

I don't think we want to remove an option which may still be useful on platforms with an older fuse? They only removed that option last December.

@@ -410,7 +410,6 @@ OPTION(fuse_use_invalidate_cb, OPT_BOOL, true) // use fuse 2.8+ invalidate callb
OPTION(fuse_disable_pagecache, OPT_BOOL, false)
OPTION(fuse_allow_other, OPT_BOOL, true)
OPTION(fuse_default_permissions, OPT_BOOL, false)
OPTION(fuse_big_writes, OPT_BOOL, true)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You must also change options.cc and remove the same entry.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@batrick updated it

@renhwztetecs renhwztetecs force-pushed the renhw-wip-fuse-mount branch 2 times, most recently from f1a594c to a1196fd Compare July 26, 2017 09:04
@batrick
Copy link
Member

batrick commented Jul 26, 2017

I think I'd prefer that we just change the default to false for the config option. Add a comment explaining that big_writes is deprecated in libfuse 3.0.0.

@renhwztetecs renhwztetecs reopened this Jul 28, 2017
@renhwztetecs renhwztetecs changed the title cephfs/fuse: remove "-o big_writes" mount option cephfs/fuse: set big_writes default is false Jul 28, 2017
@renhwztetecs
Copy link
Contributor Author

renhwztetecs commented Jul 28, 2017

good idea! I changed it
whether the FUSE supports "-o secret"? because we have the request from kubernetes calling cephfs fuse
link: kubernetes/kubernetes#44486
and https://github.com/HEP-SF/hep-sf.github.io/pull/123/files

thanks

@batrick
Copy link
Member

batrick commented Jul 28, 2017

whether the FUSE supports "-o secret"? because we have the request from kubernetes calling cephfs fuse

Please make a Ceph tracker ticket for this along with an explanation for what -o secret is and why they need it.

@renhwztetecs
Copy link
Contributor Author

renhwztetecs commented Jul 29, 2017

@batrick
I pull a tracker ticket
http://tracker.ceph.com/issues/20851

batrick added a commit to batrick/ceph that referenced this pull request Aug 2, 2017
* refs/remotes/upstream/pull/16562/head:
	cephfs/fuse: set big_writes default is false

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
@batrick
Copy link
Member

batrick commented Aug 2, 2017

Deferring this until after Luminous.

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>
@renhwztetecs
Copy link
Contributor Author

jenkins retest this please

@batrick batrick merged commit 98b9828 into ceph:master Sep 6, 2017
batrick added a commit that referenced this pull request Sep 6, 2017
* refs/remotes/upstream/pull/16562/head:
	cephfs/fuse: set big_writes default is false

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
@renhwztetecs renhwztetecs deleted the renhw-wip-fuse-mount branch September 6, 2017 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants