]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: fix dump last_sent 19959/head
authordongdong tao <tdd21151186@gmail.com>
Wed, 3 Jan 2018 13:35:16 +0000 (21:35 +0800)
committerNathan Cutler <ncutler@suse.com>
Tue, 16 Jan 2018 08:21:56 +0000 (09:21 +0100)
issue: http://tracker.ceph.com/issues/22562

Signed-off-by: dongdong tao <tdd21151186@gmail.com>
(cherry picked from commit 3d3df18bdb21aff25d1f1111718eccbb6640b5a6)

src/mds/CInode.cc

index 633e6477553dda671318f2991d28dc1b2e4a621c..edef681eb246e5c0073c4f563eca3521f5a875a4 100644 (file)
@@ -4245,7 +4245,7 @@ void CInode::dump(Formatter *f) const
     f->dump_string("pending", ccap_string(it->second->pending()));
     f->dump_string("issued", ccap_string(it->second->issued()));
     f->dump_string("wanted", ccap_string(it->second->wanted()));
-    f->dump_string("last_sent", ccap_string(it->second->get_last_sent()));
+    f->dump_int("last_sent", it->second->get_last_sent());
     f->close_section();
   }
   f->close_section();