}
-const coll_t meta_coll;
+const coll_t meta_coll(coll_t::TYPE_META);
+const coll_t temp_coll(coll_t::TYPE_TEMP);
const struct CompatSet::Feature ceph_osd_feature_compat[] = {
ObjectStore::Transaction t;
t.create_collection(meta_coll);
t.write(meta_coll, OSD_SUPERBLOCK_POBJECT, 0, bl.length(), bl);
+ t.create_collection(temp_coll);
int r = store->apply_transaction(t);
store->umount();
delete store;
snapid_t snap;
coll_t() : type(TYPE_META), snap(0) {}
+ coll_t(type_t t) : type(t), snap(0) {}
coll_t(type_t t, pg_t p, snapid_t s) : type(t), pgid(p), snap(s) {}
static coll_t build_pg_coll(pg_t p) {