If the check_caps() won't be trigger for some Inode, the dirty caps
could be kept in the client side for a long time, in some cases it
could make the client hold a lot of caps, which could exceed the
mds's limitation.
Signed-off-by: Xiubo Li <xiubli@redhat.com>
flush_tid = 0;
}
+ in->delay_cap_item.remove_myself();
send_cap(in, session.get(), &cap, msg_flags, cap_used, wanted, retain,
flushing, flush_tid);
}
iget();
dirty_caps |= caps;
client->get_dirty_list().push_back(&dirty_cap_item);
+ client->cap_delay_requeue(this);
}
/**