]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: send lock action message when auth MDS is in proper state.
authorYan, Zheng <zheng.z.yan@intel.com>
Tue, 12 Mar 2013 08:51:53 +0000 (16:51 +0800)
committerGreg Farnum <greg@inktank.com>
Mon, 1 Apr 2013 16:26:23 +0000 (09:26 -0700)
commita4ed7ea8b8e384ea3c18da06c1be6eab6f5f9966
tree2a77b7554e33ef1eecb0ca710cf5c412824bfec8
parent7ad7c347d4597891b6ec1e74381aef53e9e514e2
mds: send lock action message when auth MDS is in proper state.

For rejoining object, don't send lock ACK message because lock states
are still uncertain. The lock ACK may confuse object's auth MDS and
trigger assertion.

If object's auth MDS is not active, just skip sending NUDGE, REQRDLOCK
and REQSCATTER messages. MDCache::handle_mds_recovery() will take care
of them.

Also defer caps release message until clientreplay or active

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
src/mds/Locker.cc
src/mds/MDCache.cc