It's no longer required since commit
93e72677575 "mds: send snap
related messages centrally during mds recovery".
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
return;
}
- // opening snaprealm past parents needs to use snaptable
- if (!mds->snapclient->is_synced()) {
- dout(10) << " snaptable isn't synced, waiting" << dendl;
- mds->snapclient->wait_for_sync(new C_MDS_RetryMessage(mds, m));
- return;
- }
-
// notify client of success with an OPEN
auto reply = MClientSession::create(CEPH_SESSION_OPEN);
if (session->info.has_feature(CEPHFS_FEATURE_MIMIC))