Whamcloud - gitweb
LU-9567 mgc: set cfg_instance to NULL for sptlrpc case 20/27320/6
authorJames Simmons <uja.ornl@yahoo.com>
Thu, 8 Jun 2017 16:40:09 +0000 (12:40 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 19 Jun 2017 16:27:27 +0000 (16:27 +0000)
commitfb9a8a991f5c9e8649053e86b3147a99aaee9f84
treeada49c7b9103011a6f712f2952cdb44e63e6f2af
parentfa1bff8f6f3afb858618a563b039af3bbf46153b
LU-9567 mgc: set cfg_instance to NULL for sptlrpc case

The patch for LU-9034 mapped config logs to separate mgc
devices. This change broke sptlrpc by preventing the
ablitity to pass along config log change with
lctl conf_param. The reason for this is due to the
cfg_instance field being set to an obd device pointer.
This patch sets cfg_instance back to NULL to restore
the functionality. This is only a temporary work
around so GSS can function for the 2.10 release. A
proper fix will be worked out in 2.11.

Change-Id: Ic60e6516802d3617b38df3371f52a7f27aeae8cd
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Signed-off-by: John L. Hammond <john.hammond@intel.com>
Reviewed-on: https://review.whamcloud.com/27320
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mgc/mgc_request.c
lustre/obdclass/obd_config.c