Whamcloud - gitweb
LU-1644 mgc: remove obsolete IR swabbing workaround 87/32087/3
authorAndreas Dilger <andreas.dilger@intel.com>
Tue, 17 Apr 2018 04:53:02 +0000 (22:53 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 6 May 2018 03:39:54 +0000 (03:39 +0000)
commita0c644fde3405bba6752885481f0fdfe05da1bcd
treeac335d9bd91a22ed90ac61a38f10ec1d2257e372
parent51c11d7cfaffea68cc527f3001af1d11b3967c15
LU-1644 mgc: remove obsolete IR swabbing workaround

The OBD_CONNECT_MNE_SWAB check was added to the MGC for compatibility
with servers in the 2.2.0-2.2.55 range (in 2012) with big-endian
clients.  2.2 was not an LTS release and is no longer being used.

Remove the checks on the client for OBD_CONNECT_MNE_SWAB being set,
and assume that the server does not have this bug.  This will allow
the removal of the rest of this workaround from the server code once
there are no more clients depending on the presence of this flag.

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: Ie128745e3af8e9d41454e095922e0f6bc8fcab07
Reviewed-on: https://review.whamcloud.com/32087
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@gmail.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lustre_import.h
lustre/ldlm/ldlm_lib.c
lustre/mgc/mgc_request.c
lustre/obdclass/lprocfs_status.c
lustre/ptlrpc/import.c