]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdf64ed9fde48cb0f582a230e9b68c98154256e4c
tree323e594e9c569bce4c8373b4b4cfb381d0fd060d
parent48725a4682fe7f4c680970028aa3fc7e660d40aa
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