]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
client: clear migrate seq when MDS restarts
authorYan, Zheng <zheng.z.yan@intel.com>
Thu, 20 Feb 2014 08:11:03 +0000 (16:11 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Thu, 27 Feb 2014 03:59:59 +0000 (11:59 +0800)
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
src/client/Client.cc

index a129f6d16bac0d7763ef65d0b401dbb2e1b5ff11..1335b584a5b1f8e2711859d76bb2012cd80124f0 100644 (file)
@@ -1998,6 +1998,7 @@ void Client::send_reconnect(MetaSession *session)
 
       in->caps[mds]->seq = 0;  // reset seq.
       in->caps[mds]->issue_seq = 0;  // reset seq.
+      in->caps[mds]->mseq = 0;  // reset seq.
       m->add_cap(p->first.ino, 
                 in->caps[mds]->cap_id,
                 path.get_ino(), path.get_path(),   // ino