From: Sage Weil Date: Fri, 15 Oct 2010 16:38:08 +0000 (-0700) Subject: mds: cleanup: print waiter masks in hex X-Git-Tag: v0.22~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b8ab009aa4410ee01351c6121e967f1efe836669;p=ceph.git mds: cleanup: print waiter masks in hex Signed-off-by: Sage Weil --- diff --git a/src/mds/CDir.cc b/src/mds/CDir.cc index c3858dc8c2b8..266a7527e9bc 100644 --- a/src/mds/CDir.cc +++ b/src/mds/CDir.cc @@ -905,7 +905,7 @@ void CDir::add_waiter(uint64_t tag, Context *c) if (!(is_freezing_tree_root() || is_frozen_tree_root() || is_freezing_dir() || is_frozen_dir())) { // try parent - dout(10) << "add_waiter " << tag << " " << c << " should be ATFREEZEROOT, " << *this << " is not root, trying parent" << dendl; + dout(10) << "add_waiter " << std::hex << tag << std::dec << " " << c << " should be ATFREEZEROOT, " << *this << " is not root, trying parent" << dendl; inode->parent->dir->add_waiter(tag, c); return; } @@ -915,7 +915,7 @@ void CDir::add_waiter(uint64_t tag, Context *c) if (tag & WAIT_ATSUBTREEROOT) { if (!is_subtree_root()) { // try parent - dout(10) << "add_waiter " << tag << " " << c << " should be ATSUBTREEROOT, " << *this << " is not root, trying parent" << dendl; + dout(10) << "add_waiter " << std::hex << tag << std::dec << " " << c << " should be ATSUBTREEROOT, " << *this << " is not root, trying parent" << dendl; inode->parent->dir->add_waiter(tag, c); return; } diff --git a/src/mds/CInode.cc b/src/mds/CInode.cc index 5cbf666fceea..19131b5e55d8 100644 --- a/src/mds/CInode.cc +++ b/src/mds/CInode.cc @@ -1627,7 +1627,7 @@ bool CInode::is_freezing() void CInode::add_waiter(uint64_t tag, Context *c) { - dout(10) << "add_waiter tag " << tag + dout(10) << "add_waiter tag " << std::hex << tag << std::dec << " " << c << " !ambig " << !state_test(STATE_AMBIGUOUSAUTH) << " !frozen " << !is_frozen_inode() << " !freezing " << !is_freezing_inode()