]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
kclient: track COMPLETE flag on directories with RDCACHE; lookup ENOENT locally when...
authorSage Weil <sage@newdream.net>
Mon, 12 Jan 2009 20:45:40 +0000 (12:45 -0800)
committerSage Weil <sage@newdream.net>
Mon, 12 Jan 2009 23:06:35 +0000 (15:06 -0800)
commita3497b11888c55fa6e7fec137d76a915c43a9c18
tree6ed7b8b50ace7439d1018b8e0e20f7bce5f23850
parentf889c159c85ee51ad91665176b54938bc2d205f6
kclient: track COMPLETE flag on directories with RDCACHE; lookup ENOENT locally when possible

Maintain COMPLETE flag that indicates the client has all dentries for the
directory cached.  Only defined when holding FILE_RDCACHE cap.
src/kernel/caps.c
src/kernel/dir.c
src/kernel/inode.c
src/kernel/super.h