summaryrefslogtreecommitdiff
path: root/fs/ceph/super.h
diff options
context:
space:
mode:
authorLuís Henriques <lhenriques@suse.de>2021-10-27 13:01:30 +0300
committerIlya Dryomov <idryomov@gmail.com>2021-11-08 05:29:52 +0300
commitcbed4ff76bbb8083780dcd6ebb5bed2af25b9505 (patch)
tree323e594e9c569bce4c8373b4b4cfb381d0fd060d /fs/ceph/super.h
parentc3d8e0b5de487a7c462781745bc17694a4266696 (diff)
downloadlinux-cbed4ff76bbb8083780dcd6ebb5bed2af25b9505.tar.xz
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>
Diffstat (limited to 'fs/ceph/super.h')
-rw-r--r--fs/ceph/super.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/super.h b/fs/ceph/super.h
index 93d313294ade..ac331aa07cfa 100644
--- a/fs/ceph/super.h
+++ b/fs/ceph/super.h
@@ -129,9 +129,9 @@ struct ceph_fs_client {
struct dentry *debugfs_congestion_kb;
struct dentry *debugfs_bdi;
struct dentry *debugfs_mdsc, *debugfs_mdsmap;
- struct dentry *debugfs_metric;
struct dentry *debugfs_status;
struct dentry *debugfs_mds_sessions;
+ struct dentry *debugfs_metrics_dir;
#endif
#ifdef CONFIG_CEPH_FSCACHE