]>
git.proxmox.com Git - ceph.git/blob - 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
4 #include "include/mempool.h"
5 #include "osd/PGPeeringEvent.h"
6 #include "messages/MOSDPGLog.h"
8 MEMPOOL_DEFINE_OBJECT_FACTORY(PGPeeringEvent
, pg_peering_evt
, osd
);
10 MLogRec::MLogRec(pg_shard_t from
, MOSDPGLog
*msg
)
11 : from(from
), msg(msg
) {}
13 void MLogRec::print(std::ostream
*out
) const
15 *out
<< "MLogRec from " << from
<< " ";
16 msg
->inner_print(*out
);