Whamcloud - gitweb
LU-350 fix bug in mgs to allow starting OST before MDT
authorhongchao.zhang <hongchao.zhang@whamcloud.com>
Thu, 28 Jul 2011 05:43:59 +0000 (13:43 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 9 Aug 2011 00:43:38 +0000 (20:43 -0400)
commit3227436e11b4bc77ffd261e8f13adf905fae2353
treebcd68aa1073f3b9cc26d8641950667361ccd3011
parent37eeb0ffd0325c5a3c426d6ab0e72ef6da84db99
LU-350 fix bug in mgs to allow starting OST before MDT

in mgs_steal_llog_for_mdt_from_client, it forgets to add the "index" and
"svname" of the existing OST to the config log of the MDT's lov, then cause
Lustre fails to mount if the OSTs start before MDT.

Change-Id: I0e68bf51c88517dbd42790e7e4447a186cf268f3
Signed-off-by: Hongchao Zhang <hongchao.zhang@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/595
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Fan Yong <yong.fan@whamcloud.com>
Reviewed-by: Yu Jian <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mgs/mgs_llog.c