Whamcloud - gitweb
LU-8857 config: refactor sptlrpc config process 19/24119/4
authorLai Siyao <lai.siyao@intel.com>
Sun, 4 Dec 2016 14:26:24 +0000 (22:26 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 14 Mar 2017 02:58:30 +0000 (02:58 +0000)
commitdf00ee15534419070c559acdb913898fc9dc3a00
tree467a4bdc85e3da9097397d3096ade41ee3d97a2b
parent5c3151841520001b75e908af0fc3446d80853969
LU-8857 config: refactor sptlrpc config process

MDT/OFD may access config llog directly, e.g. accessing sptlrpc
local copy, but this config context is not initialized, these code
existed before, but maybe got lost in server code refactor before.
But after reviewing code this is not necessary, target doesn't
need to access sptlrpc config directly, but leave it the same as
other configs, that is, let MGC to handle.

Besides, ofd_set_info_hdl() doesn't need to handle KEY_SPTLRPC_CONF
because this key is handled in o_set_info_async only.

As a side effect, remove obsolete function lustre_rename().

Signed-off-by: Lai Siyao <lai.siyao@intel.com>
Change-Id: If0937cf6e5e03bc84f883131bbf63326e847e701
Reviewed-on: https://review.whamcloud.com/24119
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lu_target.h
lustre/include/lustre_sec.h
lustre/mdt/mdt_handler.c
lustre/mgc/mgc_request.c
lustre/ofd/ofd_dev.c
lustre/ofd/ofd_obd.c
lustre/ptlrpc/ptlrpc_internal.h
lustre/ptlrpc/sec_config.c
lustre/ptlrpc/sec_ctx.c
lustre/target/tgt_handler.c