Because not everyone uses CephFS, we would
like to avoid initially creating any data/metadata
pools for CephFS.
To avoid creating those pools, we must avoid initially
populating the MDSMap.
Signed-off-by: John Spray <john.spray@inktank.com>
#define MDS_PORT_LOCKER 0x300
#define MDS_PORT_MIGRATOR 0x400
-// FIXME: this should not be hardcoded
-#define MDS_DATA_POOL 0
-#define MDS_METADATA_POOL 1
-
#define MAX_MDS 0x100
#define NUM_STRAY 10
void MDSMonitor::create_initial()
{
dout(10) << "create_initial" << dendl;
- create_new_fs(pending_mdsmap, MDS_METADATA_POOL, MDS_DATA_POOL);
+
+ // Initial state is a disable MDS map
+ assert(mdsmap.enabled != true);
}