* MOSDPGLog.h,MBackfillReserve.h,MOSDPGTrim.h,MRecoveryReserve.h:
for instance, MLogRec is defined in PGPeeringEvent.h, we should not rely
other header(s) to do this for us. so just #include PGPeeringEvent.h for
its definition.
* MOSDPeeringOp: do not include PGPeeringEvent.h, as it's not used in
this header. forward delcaration would suffice
Signed-off-by: Kefu Chai <kchai@redhat.com>
#include "msg/Message.h"
#include "messages/MOSDPeeringOp.h"
+#include "osd/PGPeeringEvent.h"
class MOSDPGTrim : public MOSDPeeringOp {
private:
#include "msg/Message.h"
#include "messages/MOSDPeeringOp.h"
+#include "osd/PGPeeringEvent.h"
class MRecoveryReserve : public MOSDPeeringOp {
private: