* refs/pull/19696/head:
client: avoid adding checked inode to the delayed_caps
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
void Client::cap_delay_requeue(Inode *in)
{
- ldout(cct, 10) << "cap_delay_requeue on " << *in << dendl;
+ ldout(cct, 10) << __func__ << " on " << *in << dendl;
in->hold_caps_until = ceph_clock_now();
in->hold_caps_until += cct->_conf->client_caps_release_delay;
- delayed_caps.push_back(&in->cap_item);
+ delayed_list.push_back(&in->delay_cap_item);
}
void Client::send_cap(Inode *in, MetaSession *session, Cap *cap,