]> git.ipfire.org Git - people/ms/linux.git/commit - fs/ceph/addr.c
ceph: add IO size metrics support
authorXiubo Li <xiubli@redhat.com>
Thu, 13 May 2021 01:40:53 +0000 (09:40 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 28 Jun 2021 22:15:51 +0000 (00:15 +0200)
commit903f4fec78dd05a48fdccdf4539c040fb2d5bbf4
treee6fdd3498a0a70896d7768b76518f42c61c0931f
parentfc123d5f504bfb26d5947c68c5eb1b164d069509
ceph: add IO size metrics support

This will collect IO's total size and then calculate the average
size, and also will collect the min/max IO sizes.

The debugfs will show the size metrics in bytes and will let the
userspace applications to switch to what they need.

URL: https://tracker.ceph.com/issues/49913
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/addr.c
fs/ceph/debugfs.c
fs/ceph/file.c
fs/ceph/metric.c
fs/ceph/metric.h