]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: handle frag mismatch for cache expire
authorYan, Zheng <zheng.z.yan@intel.com>
Wed, 15 Jan 2014 07:31:25 +0000 (15:31 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Mon, 17 Feb 2014 01:37:51 +0000 (09:37 +0800)
commit8079939534822ef15e9ece8eae48312440ad76a9
tree4474678118c476695f4b62c44fbf7c4dfdc633f4
parent305d16f3f6928e35170f4ee113c5d507cbe353c4
mds: handle frag mismatch for cache expire

When sending MDSFragmentNotify to peers, also replicate the new
dirfrags. This guarantees peers get new replica nonces for the
new dirfrags. So it's safe to ignore mismatched/old dirfrags in
the cache expire message.

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