From: Adam Kupczyk Date: Mon, 16 Jan 2023 13:32:59 +0000 (+0000) Subject: os/bluestore: Better dout for bluestore_blob_t X-Git-Tag: v19.0.0~486^2~30 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9ea701ae1d0004f2155cbd0aca391889e49eab4e;p=ceph.git os/bluestore: Better dout for bluestore_blob_t Add printing of len to operator<< for const bluestore_blob_t. Signed-off-by: Adam Kupczyk --- diff --git a/src/os/bluestore/bluestore_types.cc b/src/os/bluestore/bluestore_types.cc index 17a24af05eb6..f891e2a7bc12 100644 --- a/src/os/bluestore/bluestore_types.cc +++ b/src/os/bluestore/bluestore_types.cc @@ -720,6 +720,8 @@ ostream& operator<<(ostream& out, const bluestore_blob_t& o) << " -> 0x" << o.get_compressed_payload_length() << std::dec; + } else { + out << " llen=0x" << std::hex << o.get_logical_length() << std::dec; } if (o.flags) { out << " " << o.get_flags_string();