]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
fuse: implement 'access' low level function 1566/head
authorYan, Zheng <zheng.z.yan@intel.com>
Sun, 30 Mar 2014 01:21:57 +0000 (09:21 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Sun, 30 Mar 2014 05:40:31 +0000 (13:40 +0800)
commit74fa3a785e3b9c2f4553324c98d9a4f6937e645c
treea86b73b049b651420e7adb9d3dc7c8537d4dd7b8
parent90e1e7191644329ab9f77eba95818384910680e5
fuse: implement 'access' low level function

Add an empty 'access' function to fuse low level functions. This
allow us to use ceph-fuse with fuse_default_permissions = false.
'fuse_default_permissions = false' can significantly improve the
speed of create/removing large number of files.

When fuse_default_permissions is true, the fuse kernel module sends
a getattr request whenever the kernel needs to check a directory's
permission. getattr (STAT_CAP_INODE_ALL) can be very slow if the
directory was just modified.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
src/client/fuse_ll.cc