Signed-off-by: Samuel Just <sam.just@inktank.com>
class MOSDPGBackfill;
class MOSDPGInfo;
+class PG;
+
+void intrusive_ptr_add_ref(PG *pg);
+void intrusive_ptr_release(PG *pg);
+
+ typedef boost::intrusive_ptr<PG> PGRef;
struct PGRecoveryStats {
struct per_state_info {
ostream& operator<<(ostream& out, const PG& pg);
-void intrusive_ptr_add_ref(PG *pg);
-void intrusive_ptr_release(PG *pg);
-
-typedef boost::intrusive_ptr<PG> PGRef;
-
#endif
#include "messages/MOSDSubOp.h"
class MOSDSubOpReply;
+class ReplicatedPG;
+void intrusive_ptr_add_ref(ReplicatedPG *pg);
+void intrusive_ptr_release(ReplicatedPG *pg);
+ typedef boost::intrusive_ptr<ReplicatedPG> ReplicatedPGRef;
class PGLSFilter {
protected:
string xattr;
return out;
}
-void intrusive_ptr_add_ref(ReplicatedPG *pg);
-void intrusive_ptr_release(ReplicatedPG *pg);
-
-typedef boost::intrusive_ptr<ReplicatedPG> ReplicatedPGRef;
-
#endif