This is just an externally callable wrapper
to _dump that doesn't require caller
to pass in a time.
Signed-off-by: John Spray <john.spray@redhat.com>
out << ")";
}
+void MDRequestImpl::dump(Formatter *f) const
+{
+ _dump(ceph_clock_now(g_ceph_context), f);
+}
+
void MDRequestImpl::_dump(utime_t now, Formatter *f) const
{
f->dump_string("flag_point", state_string());
virtual void print(ostream &out) {
out << "mutation(" << this << ")";
}
+
+ virtual void dump(Formatter *f) const {}
};
inline ostream& operator<<(ostream& out, MutationImpl &mut)
void set_filepath2(const filepath& fp);
void print(ostream &out);
+ void dump(Formatter *f) const;
// TrackedOp stuff
typedef ceph::shared_ptr<MDRequestImpl> Ref;