]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: return lease on null dentries (ENOENT lookups)
authorSage Weil <sage@newdream.net>
Thu, 4 Mar 2010 21:34:54 +0000 (13:34 -0800)
committerSage Weil <sage@newdream.net>
Thu, 4 Mar 2010 21:34:54 +0000 (13:34 -0800)
commitf4d9916826687778a4f68386a771171e5b0b0916
tree5ca8a6cb11a6bfa3d9a6019843844f1cd44a2f32
parent1f49bff216507b177bebe2655b56a75217a38167
mds: return lease on null dentries (ENOENT lookups)

This provides the client with a lease on a dentry's nonexistence,
allowing it to avoid repetitive ENOENT lookups.
src/mds/MDCache.cc
src/mds/Server.cc