From: Igor Fedotov Date: Tue, 2 Aug 2016 22:03:31 +0000 (+0300) Subject: os/bluestore: fix compression algorithm logging output X-Git-Tag: v11.1.0~539^2~8 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3e0ee7d4292929494f4db42b462adcc8ac7042ca;p=ceph.git os/bluestore: fix compression algorithm logging output Signed-off-by: Igor Fedotov --- diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index 91576a754d7d..68f74d87bd9c 100644 --- a/src/os/bluestore/BlueStore.cc +++ b/src/os/bluestore/BlueStore.cc @@ -7614,7 +7614,7 @@ int BlueStore::_do_alloc_write( logger->inc(l_bluestore_write_pad_bytes, newlen - rawlen); dout(20) << __func__ << std::hex << " compressed 0x" << wi.blob_length << " -> 0x" << rawlen << " => 0x" << newlen - << " with " << (int)chdr.type + << " with " << c->get_type() << std::dec << dendl; txc->statfs_delta.compressed() += rawlen; txc->statfs_delta.compressed_original() += l->length(); @@ -7629,7 +7629,7 @@ int BlueStore::_do_alloc_write( } else { dout(20) << __func__ << std::hex << " 0x" << l->length() << " compressed to 0x" << rawlen << " -> 0x" << newlen - << " with " << (int)chdr.type + << " with " << c->get_type() << ", which is more than required 0x" << want_len_raw << " -> 0x" << want_len << ", leaving uncompressed"