Whamcloud - gitweb
LU-6086 obdclass: check peer's version for MDT-MDT connection 85/13285/3
authorFan Yong <fan.yong@intel.com>
Sun, 2 Nov 2014 02:55:00 +0000 (10:55 +0800)
committerFan Yong <fan.yong@intel.com>
Sun, 2 Nov 2014 02:55:00 +0000 (10:55 +0800)
commit5f8847bca12afb798de600299356ed2e3655a53e
treedae20b42ae9c3d6b449618fccd30492416019723
parent98c50439499305096cb2dfc18e2eacec4b358c73
LU-6086 obdclass: check peer's version for MDT-MDT connection

Because new DNE/LFSCK changed some wire protocol, we cannot support
the interoperations between different version MDTs. The basic rules
for the permitted connection are:
1) The @major in the connection version should be the same;
2) The @minor in the connection version should be the same;
3) The difference of the @patch in the connection version should NOT
   more than 3.

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: I9e77f305c7552ad01e92c97f1eda0756f1291d30
lustre/ldlm/ldlm_lib.c
lustre/lod/lod_lov.c
lustre/ptlrpc/import.c