]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: fix dump of shard_info 11061/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Tue, 13 Sep 2016 06:06:22 +0000 (14:06 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Tue, 13 Sep 2016 06:06:22 +0000 (14:06 +0800)
which shall include the "extents" field too.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/os/bluestore/bluestore_types.cc

index a484ea20667b0e3ee160ace6d044546aa9910b8f..3e1a0f3547155bfec6c6c4b966a6fa9dae9d5263 100644 (file)
@@ -684,6 +684,7 @@ void bluestore_onode_t::shard_info::dump(Formatter *f) const
 {
   f->dump_unsigned("offset", offset);
   f->dump_unsigned("bytes", bytes);
+  f->dump_unsigned("extents", extents);
 }
 
 ostream& operator<<(ostream& out, const bluestore_onode_t::shard_info& si)