mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
init osds before the rest.. not for any good reason realy
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1844 29311d96-e01e-0410-9327-a35deaab8ce9
This commit is contained in:
parent
66b6dd107c
commit
766dd407f7
@ -129,15 +129,15 @@ int main(int argc, char **argv)
|
||||
for (int i=0; i<g_conf.num_mon; i++) {
|
||||
mon[i]->init();
|
||||
}
|
||||
for (int i=0; i<g_conf.num_osd; i++) {
|
||||
osd[i]->init();
|
||||
}
|
||||
for (int i=0; i<g_conf.num_mds; i++) {
|
||||
mds[i]->init();
|
||||
if (g_conf.mds_local_osd)
|
||||
mdsosd[i]->init();
|
||||
}
|
||||
|
||||
for (int i=0; i<g_conf.num_osd; i++) {
|
||||
osd[i]->init();
|
||||
}
|
||||
|
||||
// create client(s)
|
||||
Client *client[g_conf.num_client];
|
||||
|
Loading…
Reference in New Issue
Block a user