ceph: split 'metric' debugfs file into several files
authorLuís Henriques <lhenriques@suse.de>
Wed, 27 Oct 2021 10:01:30 +0000 (11:01 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 8 Nov 2021 02:29:52 +0000 (03:29 +0100)
commitcbed4ff76bbb8083780dcd6ebb5bed2af25b9505
tree323e594e9c569bce4c8373b4b4cfb381d0fd060d
parentc3d8e0b5de487a7c462781745bc17694a4266696
ceph: split 'metric' debugfs file into several files

Currently, all the metrics are grouped together in a single file, making
it difficult to process this file from scripts.  Furthermore, as new
metrics are added, processing this file will become even more challenging.

This patch turns the 'metric' file into a directory that will contain
several files, one for each metric.

Signed-off-by: Luís Henriques <lhenriques@suse.de>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/debugfs.c
fs/ceph/super.h