Home
last modified time | relevance | path

Searched refs:metric (Results 1 – 11 of 11) sorted by relevance

/fs/ceph/
Dmetric.c19 struct ceph_client_metric *m = &mdsc->metric; in ceph_mdsc_send_metrics()
45 cap->hit = cpu_to_le64(percpu_counter_sum(&mdsc->metric.i_caps_hit)); in ceph_mdsc_send_metrics()
46 cap->mis = cpu_to_le64(percpu_counter_sum(&mdsc->metric.i_caps_mis)); in ceph_mdsc_send_metrics()
117 mdsc->metric.session = s; in metric_get_session()
131 container_of(m, struct ceph_mds_client, metric); in metric_delayed_work()
DMakefile11 debugfs.o util.o metric.o
Dfile.c932 ceph_update_read_latency(&fsc->mdsc->metric, in ceph_sync_read()
1066 struct ceph_client_metric *metric = &ceph_sb_to_mdsc(inode->i_sb)->metric; in ceph_aio_complete_req() local
1077 ceph_update_write_latency(metric, req->r_start_latency, in ceph_aio_complete_req()
1080 ceph_update_read_latency(metric, req->r_start_latency, in ceph_aio_complete_req()
1212 struct ceph_client_metric *metric = &fsc->mdsc->metric; in ceph_direct_read_write() local
1330 ceph_update_write_latency(metric, req->r_start_latency, in ceph_direct_read_write()
1333 ceph_update_read_latency(metric, req->r_start_latency, in ceph_direct_read_write()
1507 ceph_update_write_latency(&fsc->mdsc->metric, req->r_start_latency, in ceph_sync_write()
Ddebugfs.c147 struct ceph_client_metric *m = &mdsc->metric; in metric_show()
311 DEFINE_SHOW_ATTRIBUTE(metric);
Daddr.c227 ceph_update_read_latency(&fsc->mdsc->metric, req->r_start_latency, in ceph_do_readpage()
309 ceph_update_read_latency(&fsc->mdsc->metric, req->r_start_latency, in finish_read()
662 ceph_update_write_latency(&fsc->mdsc->metric, req->r_start_latency, in writepage_nounlock()
750 ceph_update_write_latency(&fsc->mdsc->metric, req->r_start_latency, in writepages_finish()
1855 ceph_update_write_latency(&fsc->mdsc->metric, req->r_start_latency, in ceph_uninline_data()
Dcaps.c671 atomic64_inc(&mdsc->metric.total_caps); in ceph_add_cap()
948 ceph_update_cap_hit(&fsc->mdsc->metric); in __ceph_caps_issued_mask_metric()
950 ceph_update_cap_mis(&fsc->mdsc->metric); in __ceph_caps_issued_mask_metric()
1172 atomic64_dec(&mdsc->metric.total_caps); in __ceph_remove_cap()
2868 ceph_update_cap_mis(&mdsc->metric); in try_get_cap_refs()
2870 ceph_update_cap_hit(&mdsc->metric); in try_get_cap_refs()
4432 atomic64_inc(&mdsc->metric.opened_files); in ceph_get_fmode()
4449 percpu_counter_inc(&mdsc->metric.opened_inodes); in ceph_get_fmode()
4466 atomic64_dec(&mdsc->metric.opened_files); in ceph_put_fmode()
4485 percpu_counter_dec(&mdsc->metric.opened_inodes); in ceph_put_fmode()
Ddir.c53 atomic64_inc(&mdsc->metric.total_dentries); in ceph_d_init()
1721 percpu_counter_inc(&mdsc->metric.d_lease_mis); in ceph_d_revalidate()
1755 percpu_counter_inc(&mdsc->metric.d_lease_hit); in ceph_d_revalidate()
1802 atomic64_dec(&fsc->mdsc->metric.total_dentries); in ceph_d_release()
Dmds_client.h467 struct ceph_client_metric metric; member
Dmds_client.c1593 atomic64_dec(&session->s_mdsc->metric.total_caps); in ceph_iterate_session_caps()
3308 ceph_update_metadata_latency(&mdsc->metric, req->r_start_latency, in handle_reply()
3463 metric_schedule_delayed(&mdsc->metric); in handle_session()
4612 err = ceph_metric_init(&mdsc->metric); in ceph_mdsc_init()
4932 ceph_metric_destroy(&mdsc->metric); in ceph_mdsc_destroy()
Dinode.c50 percpu_counter_inc(&mdsc->metric.total_inodes); in ceph_set_ino_cb()
552 percpu_counter_dec(&mdsc->metric.total_inodes); in ceph_evict_inode()
Dsuper.c1323 metric_schedule_delayed(&fsc->mdsc->metric); in param_set_metrics()