This generates lots of lock traffic that is unneeded with the authchange
notification machinery.
sorted.insert(*p);
if ((*p)->get_parent()->is_auth())
mustpin.insert(*p);
- else if ((*p)->get_type() == CEPH_LOCK_IFILE &&
- !(*p)->get_parent()->is_auth() && !(*p)->can_rdlock(client)) { // we might have to request an rdlock
- dout(15) << " will also auth_pin " << *(*p)->get_parent() << " in case we need to request a rdlock" << dendl;
- mustpin.insert(*p);
- }
}