Because many Ceph users don't use the filesystem,
don't create the 'data' and 'metadata' pools by
default -- they will be created by newfs if
they are needed.
Signed-off-by: John Spray <john.spray@inktank.com>
pgp_bits = pg_bits;
vector<string> pool_names;
- pool_names.push_back("data");
- pool_names.push_back("metadata");
pool_names.push_back("rbd");
stringstream ss;
pools[pool].set_pg_num(poolbase << pg_bits);
pools[pool].set_pgp_num(poolbase << pgp_bits);
pools[pool].last_change = epoch;
- if (*p == "data")
- pools[pool].crash_replay_interval = cct->_conf->osd_default_data_pool_replay_window;
pool_name[pool] = *p;
name_pool[*p] = pool;
}