Whamcloud - gitweb
LU-3929 lwp: don't connect LWP to old MDT 13/8513/2
authorHongchao Zhang <hongchao.zhang@intel.com>
Thu, 8 Aug 2013 07:58:06 +0000 (15:58 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 10 Dec 2013 04:19:15 +0000 (04:19 +0000)
commit1ab8c61ddbcc580b16e36039884f99e63b78afe9
treee66b32560a1e369432df549ba9e21cc1d06e6026
parent6d3a81a1d4f00f31b1d7b5b4ee9719f379043984
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: Iad6de8f8a59ff9606c30dd8b750e7638b6bc4e9c
Signed-off-by: Hongchao Zhang <hongchao.zhang@intel.com>
Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-on: http://review.whamcloud.com/8513
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/obdclass/obd_mount_server.c