From: Sage Weil Date: Sat, 19 Jan 2013 18:04:39 +0000 (-0800) Subject: client: note presence of dir layout in inode operator<< X-Git-Tag: v0.56.3~12^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8ce834d3f50b00fdd59cd237f3fb5fef1d57e1dd;p=ceph.git client: note presence of dir layout in inode operator<< Signed-off-by: Sage Weil (cherry picked from commit 84751489ca208964e617516e04556722008ddf67) --- diff --git a/src/client/Inode.cc b/src/client/Inode.cc index 0dfd1ebdce80..4b0c99d5764d 100644 --- a/src/client/Inode.cc +++ b/src/client/Inode.cc @@ -40,6 +40,9 @@ ostream& operator<<(ostream &out, Inode &in) if (!in.dn_set.empty()) out << " parents=" << in.dn_set; + if (in.is_dir() && in.has_dir_layout()) + out << " has_dir_layout"; + out << ' ' << &in << ")"; return out; }