From: xie xingguo Date: Mon, 20 Jun 2016 01:28:34 +0000 (+0800) Subject: client: end scope of hex of dout properly X-Git-Tag: ses5-milestone5~581^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6996dfb38e51e8b70c51e261d20826971eba8466;p=ceph.git client: end scope of hex of dout properly Otherwise it will affect the subsequent outputs also, which is not the expected behaviour. Signed-off-by: xie xingguo --- diff --git a/src/client/Client.cc b/src/client/Client.cc index 0c3b7a614379..a6d5d383ab22 100644 --- a/src/client/Client.cc +++ b/src/client/Client.cc @@ -7043,7 +7043,7 @@ int Client::_readdir_get_frag(dir_result_t *dirp) fg = frag_t(dirp->offset_high()); ldout(cct, 10) << "_readdir_get_frag " << dirp << " on " << dirp->inode->ino << " fg " << fg - << " offset " << hex << dirp->offset << dendl; + << " offset " << hex << dirp->offset << dec << dendl; int op = CEPH_MDS_OP_READDIR; if (dirp->inode && dirp->inode->snapid == CEPH_SNAPDIR) @@ -7226,7 +7226,7 @@ int Client::readdir_r_cb(dir_result_t *d, add_dirent_cb_t cb, void *p) } // can we read from our cache? - ldout(cct, 10) << "offset " << hex << dirp->offset + ldout(cct, 10) << "offset " << hex << dirp->offset << dec << " snapid " << dirp->inode->snapid << " (complete && ordered) " << dirp->inode->is_complete_and_ordered() << " issued " << ccap_string(dirp->inode->caps_issued())