]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: allow try_eval to eval unstable locks in freezing object
authorYan, Zheng <zheng.z.yan@intel.com>
Mon, 19 Nov 2012 02:43:36 +0000 (10:43 +0800)
committerSage Weil <sage@inktank.com>
Sat, 1 Dec 2012 20:52:21 +0000 (12:52 -0800)
commit5620f3d0bfec29ae3f58c57d2ec502cb41b2cefd
tree0948e40ba627c2a713da77afe8c06c56ed2a3d71
parent7794de61b5f4b5c2e20c99e26c8578361d9b0247
mds: allow try_eval to eval unstable locks in freezing object

Unstable locks hold auth_pins on the object, it prevents the freezing
object become frozen and then unfreeze. So try_eval() should not wait
for freezing object

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