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

ceph-fuse: use user space permission check by default #14907

Merged
merged 1 commit into from May 9, 2017

Conversation

Projects
None yet
2 participants
@ukernel
Member

ukernel commented May 2, 2017

The kernel permission check uses getattr() to get inode's uid, gid
and mode. But due to limitation of fuse API, ceph-fuse has to get
attributes of the inode. Getting direcotry inode's size can be slow
if the directory is fragmented and dirfrags are managed by multiple
mds.

Fixes: http://tracker.ceph.com/issues/19820
Signed-off-by: "Yan, Zheng" zyan@redhat.com

ceph-fuse: use user space permission check by default
The kernel permission check uses getattr() to get inode's uid, gid
and mode. But due to limitation of fuse API, ceph-fuse has to get
attributes of the inode. Getting direcotry inode's size can be slow
if the directory is fragmented and dirfrags are managed by multiple
mds.

Fixes: http://tracker.ceph.com/issues/19820
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
@batrick

batrick approved these changes May 2, 2017

@batrick

This comment has been minimized.

Member

batrick commented May 2, 2017

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>

@ukernel ukernel merged commit 69de7bc into ceph:master May 9, 2017

3 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodifed Submodules submodules for project are unmodified
Details
default Build finished.
Details

@ukernel ukernel deleted the ukernel:wip-19820 branch May 9, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment