* refs/pull/36257/head:
client: move client_lock to _unmount()
client: add timer_lock support
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
void flush_cap_releases();
void tick();
+ void cap_hit() {
+ ++cap_hits;
+ }
+ void cap_miss() {
+ ++cap_misses;
+ }
+ std::pair<uint64_t, uint64_t> get_cap_hit_rates() {
+ return std::make_pair(cap_hits, cap_misses);
+ }
+
xlist<Inode*> &get_dirty_list() { return dirty_list; }
+ /* timer_lock for 'timer' and 'tick_event' */
+ ceph::mutex timer_lock = ceph::make_mutex("Client::timer_lock");
+ Context *tick_event = nullptr;
SafeTimer timer;
std::unique_ptr<PerfCounters> logger;