From: xie xingguo Date: Thu, 1 Sep 2016 03:33:25 +0000 (+0800) Subject: os/bluestore: end scope of std::hex properly X-Git-Tag: v11.0.1~341^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f9b083ec9e7d11fe352ae1d7de2816927988552a;p=ceph.git os/bluestore: end scope of std::hex properly So it does not extend to the following output stream and causes unexpected behaviour. Signed-off-by: xie xingguo --- diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index 1cb20155b4e..e24dda5f7f0 100644 --- a/src/os/bluestore/BlueStore.cc +++ b/src/os/bluestore/BlueStore.cc @@ -906,7 +906,8 @@ void BlueStore::BufferSpace::_clear() int BlueStore::BufferSpace::_discard(uint64_t offset, uint64_t length) { // note: we already hold cache->lock - dout(20) << __func__ << std::hex << " 0x" << offset << "~" << length << dendl; + dout(20) << __func__ << std::hex << " 0x" << offset << "~" << length + << std::dec << dendl; int cache_private = 0; cache->_audit("discard start"); auto i = _data_lower_bound(offset);