ceph: send client provided metric flags in client metadata
authorXiubo Li <xiubli@redhat.com>
Thu, 16 Jul 2020 14:05:58 +0000 (10:05 -0400)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 3 Aug 2020 09:05:27 +0000 (11:05 +0200)
commit3b4168dd8b1d3e0bb129cf41e6bb50e217fe7781
tree55a08fb12f646b5b42c78fb172f664ff9dbf0d68
parent18f473b384a64cef69f166a3e2b73d3d2eca82c6
ceph: send client provided metric flags in client metadata

Send metric flags to the MDS, indicating what metrics the client
supports. Currently that consists of cap statistics, and read, write and
metadata latencies.

URL: https://tracker.ceph.com/issues/43435
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/mds_client.c
fs/ceph/metric.h