Whamcloud - gitweb
LU-8727 mgs: remove skip records from config file 45/23245/23
authorVladimir Saveliev <c17830@cray.com>
Mon, 19 Feb 2018 13:14:28 +0000 (16:14 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 3 Mar 2018 04:28:01 +0000 (04:28 +0000)
commit2a9518b1f820f833cbfcff42c6606413a1f5d3e7
tree20c8f2af257a79d4d29f5a2b85b7c65ecb497f57
parent05cfe91c2714a77f5ad3de4a7e58e20b6df17b83
LU-8727 mgs: remove skip records from config file

Configuration logs are append-only files of limited size.  Over the
course of time the logs may grow over the limit size.  Usually,
configuration logs keep needless records marked as SKIP. The new lctl
command "clear_conf" is added to allow administartors to clear
configuration files by removing mentioned SKIP records. lctl man page
is updated.
conf-sanity test (for ldiskfs only) is added to test the new command.

Change-Id: I274cb48138c16e536cfca56836c3313e944eba56
Signed-off-by: Vladimir Saveliev <c17830@cray.com>
Signed-off-by: Arshad Hussain <arshad.super@gmail.com>
Cray-bug-id: MRP-2091
Reviewed-by: Artem Blagodarenko <c17828@cray.com>
Reviewed-by: Alexey Leonidovich Lyashkov <c17817@cray.com>
Tested-by: Elena V. Gryaznova <c17455@cray.com>
Reviewed-on: https://review.whamcloud.com/23245
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/doc/lctl.8
lustre/include/uapi/linux/lustre/lustre_ioctl.h
lustre/mgs/mgs_handler.c
lustre/mgs/mgs_internal.h
lustre/mgs/mgs_llog.c
lustre/tests/conf-sanity.sh
lustre/utils/lctl.c
lustre/utils/obd.c
lustre/utils/obdctl.h