]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/objectstore: add bufferptr & blouestore_blob_t::extents to "sizeof" UT
authorIgor Fedotov <ifedotov@mirantis.com>
Mon, 16 Jan 2017 14:47:31 +0000 (14:47 +0000)
committerIgor Fedotov <ifedotov@mirantis.com>
Mon, 16 Jan 2017 14:47:31 +0000 (14:47 +0000)
Signed-off-by: Igor Fedotvo <ifedotov@mirantis.com>
src/test/objectstore/test_bluestore_types.cc

index 38b0e8dacc81df057ccf07bf2bfd95451d4646df..3a959c2dc9c09ca0269137eb766fc3d70966c994 100644 (file)
@@ -29,6 +29,7 @@ TEST(bluestore, sizeof) {
   P(BlueStore::Buffer);
   P(bluestore_onode_t);
   P(bluestore_blob_t);
+  P(bluestore_blob_t::extents);
   P(bluestore_extent_ref_map_t);
   P(bluestore_extent_ref_map_t::record_t);
   P(std::atomic_int);
@@ -36,6 +37,7 @@ TEST(bluestore, sizeof) {
   P(boost::intrusive::set_base_hook<>);
   P(boost::intrusive::unordered_set_base_hook<>);
   P(bufferlist);
+  P(bufferptr);
   cout << "map<uint64_t,uint64_t>\t" << sizeof(map<uint64_t,uint64_t>) << std::endl;
   cout << "map<char,char>\t" << sizeof(map<char,char>) << std::endl;
 }