From 90e6daec9f3fe2a3ba051301ee50940278ade18b Mon Sep 17 00:00:00 2001 From: John Spray Date: Tue, 29 Apr 2014 15:39:45 +0100 Subject: [PATCH] osdmap: Don't create FS pools by default 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 --- src/osd/OSDMap.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/osd/OSDMap.cc b/src/osd/OSDMap.cc index 8d2a346fb64..527efdf62ee 100644 --- a/src/osd/OSDMap.cc +++ b/src/osd/OSDMap.cc @@ -2518,8 +2518,6 @@ int OSDMap::build_simple(CephContext *cct, epoch_t e, uuid_d &fsid, pgp_bits = pg_bits; vector pool_names; - pool_names.push_back("data"); - pool_names.push_back("metadata"); pool_names.push_back("rbd"); stringstream ss; @@ -2548,8 +2546,6 @@ int OSDMap::build_simple(CephContext *cct, epoch_t e, uuid_d &fsid, 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; } -- 2.47.3