]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: only kick head on snap rdlock if auth
authorSage Weil <sage@newdream.net>
Thu, 12 Aug 2010 20:28:47 +0000 (13:28 -0700)
committerSage Weil <sage@newdream.net>
Thu, 12 Aug 2010 20:28:47 +0000 (13:28 -0700)
commit9069b8e5983c61238a1667ff0a9c62f0cd26e2ae
treef6096aaa3de673c94d0e90201e7cccd8b3444589
parent755aa4fd1710241923b8dc3fdb8e5b01b6e8b5a3
mds: only kick head on snap rdlock if auth

- If we are non-auth, stick with the snap, and the auth will do the
inference.
- If we are auth, the head had better exist, because our lock is
pinned in an unreadable state for some reason.  Assert as much.
src/mds/Locker.cc