From 3d3df18bdb21aff25d1f1111718eccbb6640b5a6 Mon Sep 17 00:00:00 2001 From: dongdong tao Date: Wed, 3 Jan 2018 21:35:16 +0800 Subject: [PATCH] mds: fix dump last_sent issue: http://tracker.ceph.com/issues/22562 Signed-off-by: dongdong tao --- src/mds/CInode.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.47.3