summaryrefslogtreecommitdiffstats
path: root/src/os/kstore
diff options
context:
space:
mode:
authorYang Honggang <yanghonggang@umcloud.com>2018-04-18 08:14:06 +0200
committerYang Honggang <yanghonggang@umcloud.com>2018-04-18 08:14:06 +0200
commitc03203f547cfdea1ae193a25749bcf535db25297 (patch)
tree2852a4214404260eeb7ae9c54844695cabca82d6 /src/os/kstore
parentMerge pull request #21474 from jecluis/mimic-mon-pending-releasenotes (diff)
downloadceph-c03203f547cfdea1ae193a25749bcf535db25297.tar.xz
ceph-c03203f547cfdea1ae193a25749bcf535db25297.zip
os/kstore: support db statistic
Signed-off-by: Yang Honggang <yanghonggang@umcloud.com>
Diffstat (limited to 'src/os/kstore')
-rw-r--r--src/os/kstore/KStore.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/os/kstore/KStore.h b/src/os/kstore/KStore.h
index 2d170161164..e5b8752e519 100644
--- a/src/os/kstore/KStore.h
+++ b/src/os/kstore/KStore.h
@@ -436,7 +436,9 @@ public:
logger->dump_formatted(f, false);
f->close_section();
}
-
+ void get_db_statistics(Formatter *f) override {
+ db->get_statistics(f);
+ }
int statfs(struct store_statfs_t *buf) override;
CollectionHandle open_collection(const coll_t& c) override;