From: dongdong tao Date: Wed, 3 Jan 2018 13:35:16 +0000 (+0800) Subject: mds: fix dump last_sent X-Git-Tag: v13.0.2~592^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3d3df18bdb21aff25d1f1111718eccbb6640b5a6;p=ceph.git mds: fix dump last_sent issue: http://tracker.ceph.com/issues/22562 Signed-off-by: dongdong tao --- diff --git a/src/mds/CInode.cc b/src/mds/CInode.cc index 703ed51448aa..da6c9a158575 100644 --- a/src/mds/CInode.cc +++ b/src/mds/CInode.cc @@ -4343,7 +4343,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();