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

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

Merged
merged 1 commit into from
May 9, 2017

Conversation

ukernel
Copy link
Contributor

@ukernel 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

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>
@ukernel ukernel added cephfs Ceph File System feature labels May 2, 2017
@batrick
Copy link
Member

batrick commented May 2, 2017

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

@ukernel ukernel merged commit 69de7bc into ceph:master May 9, 2017
@ukernel ukernel deleted the wip-19820 branch May 9, 2017 02:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cephfs Ceph File System feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants