mirror of
https://github.com/ceph/ceph
synced 2025-01-04 02:02:36 +00:00
os/bluestore: simplify blob print if !compressed
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
62c12b70e2
commit
678be45532
@ -557,11 +557,13 @@ ostream& operator<<(ostream& out, const bluestore_blob_t& o)
|
||||
if (o.sbid) {
|
||||
out << " sbid 0x" << std::hex << o.sbid << std::dec;
|
||||
}
|
||||
out << " clen 0x" << std::hex
|
||||
<< o.compressed_length_orig
|
||||
<< " -> 0x"
|
||||
<< o.compressed_length
|
||||
<< std::dec;
|
||||
if (o.is_compressed()) {
|
||||
out << " clen 0x" << std::hex
|
||||
<< o.compressed_length_orig
|
||||
<< " -> 0x"
|
||||
<< o.compressed_length
|
||||
<< std::dec;
|
||||
}
|
||||
if (o.flags) {
|
||||
out << " " << o.get_flags_string();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user