The reconnect will infer some client caps, which will affect what lock
states we want. If we're not replicated, fine, just pick something good.
Otherwise, try_eval() and go through the proper channels.
This _might_ be the source of #165...
<< " on " << *in << dendl;
remove_replay_cap_reconnect(in->ino(), client);
- in->choose_lock_states();
- dout(15) << " chose lock states on " << *in << dendl;
+ if (in->is_replicated()) {
+ mds->locker->try_eval(in, CEPH_CAP_LOCKS);
+ } else {
+ in->choose_lock_states();
+ dout(15) << " chose lock states on " << *in << dendl;
+ }
}
}