Signed-off-by: Sage Weil <sage@redhat.com>
ostream& operator<<(ostream& out, const bluestore_blob_t& o)
{
out << "blob(" << o.extents
- << " len " << o.length
- << " nref " << o.num_refs
- << " " << o.get_flags_string();
+ << " len " << std::hex << o.length
+ << " nref " << o.num_refs;
+ if (o.flags) {
+ out << " " << o.get_flags_string();
+ }
if (o.csum_type) {
out << " csum " << o.get_csum_type_string(o.csum_type)
<< " order " << (int)o.csum_block_order;