Whamcloud - gitweb
LU-3155 mgs: set_param -P option that sets value permanently 25/6025/19
authorArtem Blagodarenko <artem_blagodarenko@xyratex.com>
Thu, 11 Apr 2013 07:31:43 +0000 (11:31 +0400)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 1 Aug 2013 15:25:19 +0000 (15:25 +0000)
commitbc25ea34379b5abacffbbb41d0ecb5dfcd676cd0
treea343e915770a0e8bb1082bd4bb4740866dd0e92e
parentaaa103b24a4bead459cbae8e49fd051153011720
LU-3155 mgs: set_param -P option that sets value permanently

set_param and conf_param have different syntaxes. Also conf_param
has unimplemented paths and no wildcarding support.

This patch adds set_param -P option, that replaces the whole
conf_param "direct" proc access with a simple upcall-type mechanism
from the MGC. Option conf_param is saved now for compatibility.

Xyratex-bug-id: MRP-272
Signed-off-by: Artem Blagodarenko <artem_blagodarenko@xyratex.com>
Change-Id: I19ec3f14e339f780ef1403f2902f6baa9e789614
Reviewed-on: http://review.whamcloud.com/6025
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
13 files changed:
lustre/include/lustre_cfg.h
lustre/include/lustre_disk.h
lustre/include/obd_class.h
lustre/llite/llite_lib.c
lustre/mgc/mgc_request.c
lustre/mgs/mgs_handler.c
lustre/mgs/mgs_internal.h
lustre/mgs/mgs_llog.c
lustre/obdclass/obd_config.c
lustre/tests/conf-sanity.sh
lustre/utils/lctl.c
lustre/utils/llog_reader.c
lustre/utils/lustre_cfg.c