]> git.proxmox.com Git - ceph.git/blob - ceph/src/osd/PGPeeringEvent.cc
import quincy beta 17.1.0
[ceph.git] / ceph / src / osd / PGPeeringEvent.cc
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
3
4 #include "include/mempool.h"
5 #include "osd/PGPeeringEvent.h"
6 #include "messages/MOSDPGLog.h"
7
8 MEMPOOL_DEFINE_OBJECT_FACTORY(PGPeeringEvent, pg_peering_evt, osd);
9
10 MLogRec::MLogRec(pg_shard_t from, MOSDPGLog *msg)
11 : from(from), msg(msg) {}
12
13 void MLogRec::print(std::ostream *out) const
14 {
15 *out << "MLogRec from " << from << " ";
16 msg->inner_print(*out);
17 }