On 2020/1/28 22:16, Ilya Dryomov wrote:
On Tue, Jan 28, 2020 at 2:03 PM <xiubli@xxxxxxxxxx> wrote:
From: Xiubo Li <xiubli@xxxxxxxxxx>
Changed in V2:
- add read/write/metadata latency metric support.
- add and send client provided metric flags in client metadata
- addressed the comments from Ilya and merged the 4/4 patch into 3/4.
- addressed all the other comments in v1 series.
Changed in V3:
- addressed Jeff's comments and let's the callers do the metric
counting.
- with some small fixes for the read/write latency
- tested based on the latest testing branch
Changed in V4:
- fix the lock issue
Changed in V5:
- add r_end_stamp for the osdc request
- delete reset metric and move it to metric sysfs
- move ceph_osdc_{read,write}pages to ceph.ko
- use percpu counters instead for read/write/metadata latencies
It will send the metrics to the MDSs every second if sending_metrics is enabled, disable as default.
Hi Xiubo,
What is this series based on? "[PATCH v5 01/10] ceph: add caps perf
metric for each session" changes metric_show() in fs/ceph/debugfs.c,
but there is no such function upstream or in the testing branch.
There actually 11 patches, I missed the first one, will resend it.
Thanks.
Thanks,
Ilya