Whamcloud - gitweb
LU-3929 lwp: don't connect LWP to old MDT 01/8701/2
authorHongchao Zhang <hongchao.zhang@intel.com>
Thu, 8 Aug 2013 07:58:06 +0000 (15:58 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 6 Jan 2014 03:49:47 +0000 (03:49 +0000)
commit220c4ec0eb7b1f2145c55b923fe1461383f81a77
tree539cb86a27749ec8c1b4d2051c2cd41b7c1f9bec
parent2683eeeb6b8f85497d481bec507641b71b78b16b
LU-3929 lwp: don't connect LWP to old MDT

When rolling upgrade Lustre from old version without LWP support
(< 2.3.60) to newer version, the OSTs will be upgraded firstly,
then LWP will try to connect the old MDT, and old MDT will regard
the LWP client as normal client and save client export on disk for
recovery, which will break recovery at the end since LWP
connection isn't recoverable.

Change-Id: Ib58c11a9d06b78ac9617563ae1baa4844e0efa45
Signed-off-by: Hongchao Zhang <hongchao.zhang@intel.com>
Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-on: http://review.whamcloud.com/8701
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/obdclass/obd_mount_server.c