]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
client: add ctime/btime to Inode dump 20854/head
authorPatrick Donnelly <pdonnell@redhat.com>
Mon, 12 Mar 2018 22:49:09 +0000 (15:49 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Mon, 12 Mar 2018 22:50:30 +0000 (15:50 -0700)
For debugging.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/client/Inode.cc

index 1c0e1f679a566d00c593b49f3154aee2330fac69..7d9e9ad3ceb452efd0de5ba3dd3505035776a21a 100644 (file)
@@ -46,7 +46,9 @@ ostream& operator<<(ostream &out, const Inode &in)
       << " open=" << in.open_by_mode
       << " mode=" << oct << in.mode << dec
       << " size=" << in.size << "/" << in.max_size
+      << " btime=" << in.btime
       << " mtime=" << in.mtime
+      << " ctime=" << in.ctime
       << " caps=" << ccap_string(in.caps_issued());
   if (!in.caps.empty()) {
     out << "(";