]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: conclude ENOENT during travrse if we have a readable null dentry
authorSage Weil <sage@newdream.net>
Thu, 7 Jul 2011 18:47:52 +0000 (11:47 -0700)
committerGreg Farnum <gregory.farnum@dreamhost.com>
Thu, 7 Jul 2011 20:10:45 +0000 (13:10 -0700)
commit616ff502643d8546051f0bac7635123b8a335f8b
tree4a99ebed0bdc9fdfe1c8e5758225729b6003fac1
parenta91b1bfff4f8208487731e8afa62458fba158d4d
mds: conclude ENOENT during travrse if we have a readable null dentry

Only if the lock is readable.  For example, replicas with dn lock state
of LOCK aren't readable.

Signed-off-by: Sage Weil <sage@newdream.net>
src/mds/MDCache.cc