Signed-off-by: Sage Weil <sage@redhat.com>
#define dout_subsys ceph_subsys_osd
+MEMPOOL_DEFINE_OBJECT_FACTORY(OSDMap, osdmap, osdmap);
+MEMPOOL_DEFINE_OBJECT_FACTORY(OSDMap::Incremental, osdmap_inc, osdmap);
+
+
// ----------------------------------
// osd_info_t
/** OSDMap
*/
class OSDMap {
-
public:
+ MEMPOOL_CLASS_HELPERS();
+
class Incremental {
public:
+ MEMPOOL_CLASS_HELPERS();
+
/// feature bits we were encoded with. the subsequent OSDMap
/// encoding should match.
uint64_t encode_features;