]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
client: note presence of dir layout in inode operator<<
authorSage Weil <sage@inktank.com>
Sat, 19 Jan 2013 18:04:39 +0000 (10:04 -0800)
committerSage Weil <sage@inktank.com>
Wed, 30 Jan 2013 00:25:05 +0000 (16:25 -0800)
Signed-off-by: Sage Weil <sage@inktank.com>
src/client/Inode.cc

index 0dfd1ebdce80393a815079d28212097b3fc5d5c4..4b0c99d5764da49dded684f55cfb2a16e679e514 100644 (file)
@@ -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;
 }