Whamcloud - gitweb
LU-9452 ldlm: remove MSG_CONNECT_LIBCLIENT support 72/26972/9
authorAndreas Dilger <andreas.dilger@intel.com>
Fri, 5 May 2017 23:39:48 +0000 (17:39 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 24 Oct 2017 07:18:30 +0000 (07:18 +0000)
commit82e794e268bede7092e64e3f93d50a9bdf9936bd
treeab027e19fdc71d03704b3393fee3d81d0301924e
parent627d0133d9d7bef908544537a8a2b2093719fc72
LU-9452 ldlm: remove MSG_CONNECT_LIBCLIENT support

Remove old server code that handled liblustre client connections,
marked with MSG_CONNECT_LIBCLIENT and associated code checking for
exp_libclient.  Servers will now outright refuse connections from
liblustre clients with a clear message, rather than allowing the
connection and pretending to work.  Liblustre client support was
broken and removed years ago.

There are still some liblustre remnants in the code (e.g. blocked
lock handling for LDLM_FL_CANCEL_ON_BLOCK), but that has more
complex semantics and should be removed in a separate patch.

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: Ifbea507e82d758f849db24094c5cc0a8003ebbe5
Reviewed-on: https://review.whamcloud.com/26972
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Ben Evans <bevans@cray.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
16 files changed:
lustre/include/cl_object.h
lustre/include/lustre_export.h
lustre/include/lustre_net.h
lustre/include/obd.h
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/include/uapi/linux/lustre/lustre_ver.h
lustre/ldlm/ldlm_lib.c
lustre/ldlm/ldlm_lockd.c
lustre/llite/glimpse.c
lustre/llite/lcommon_misc.c
lustre/lov/lov_pool.c
lustre/mdt/mdt_open.c
lustre/obdclass/cl_object.c
lustre/ofd/ofd_dlm.c
lustre/ptlrpc/import.c
lustre/tests/sanityn.sh