Whamcloud - gitweb
finished the last function in MGS: mgs_steal_llog_for_mdt_from_client.
authorhuanghua <huanghua>
Fri, 7 Apr 2006 04:41:33 +0000 (04:41 +0000)
committerhuanghua <huanghua>
Fri, 7 Apr 2006 04:41:33 +0000 (04:41 +0000)
commit03aca0733deda2b4fc96cfeb9487ce9d91668896
treeda1398f5e2546657f860842c9807071bfb574fc2
parentc70a73bd96ed0824056938379ec490189435dc78
finished the last function in MGS: mgs_steal_llog_for_mdt_from_client.
compilation passed.
mgs_steal_llog_for_mdt_from_client has the following steps:
1. find a "marker" to identify the start of adding osc/mdc for clients;
2. duplicate config log from clients' to mdt's:
(a) add start marker;
(b) duplicate add_uuid;
(c) duplicate attach, modify uuid for the new obd;
(d) duplicate setup;
(e) duplicate lov_add to lov_add (or lmv_add to cmm_add);
(f) add end marker;
3. got a "marker" to end. goto 1. to find another.
lustre/mgs/mgs_llog.c