]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/fio: dump mempool on job completion
authorIgor Fedotov <ifedotov@suse.com>
Thu, 3 May 2018 16:16:12 +0000 (19:16 +0300)
committerIgor Fedotov <ifedotov@suse.com>
Tue, 12 Jun 2018 11:48:44 +0000 (14:48 +0300)
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
src/test/fio/fio_ceph_objectstore.cc

index 57bcb0f06c7474b058f4c059538b9b6bbab8c44b..1d63e47d61e3f0e5c2f24e7a45e043a488988e0e 100644 (file)
@@ -281,6 +281,11 @@ struct Engine {
         ostr << "FIO get_db_statistics ";
         f->flush(ostr);
       }
+      ostr << "Mempools: ";
+      f->open_object_section("mempools");
+      mempool::dump(f);
+      f->close_section();
+      f->flush(ostr);
       
       ostr << "Generate db histogram: ";
       os->generate_db_histogram(f);