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:
sageweil 2007-09-13 04:16:41 +00:00
parent 66b6dd107c
commit 766dd407f7

View File

@ -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];