Whamcloud - gitweb
LU-8727 mgs: remove skip records from config file 45/34045/4
authorVladimir Saveliev <c17830@cray.com>
Mon, 19 Feb 2018 13:14:28 +0000 (16:14 +0300)
committerOleg Drokin <green@whamcloud.com>
Sat, 23 Feb 2019 05:10:08 +0000 (05:10 +0000)
commit7da48d3205fa061c169a90b49b397607bdd9c627
tree558c0c14c2ee317e3c1918e8a761a1b72cf701a2
parent5fe982690dde421c0108f484ab694d2488c9042b
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.

Lustre-change: https://review.whamcloud.com/23245
Lustre-commit: 2a9518b1f820f833cbfcff42c6606413a1f5d3e7

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>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/34045
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alexey Lyashkov <c17817@cray.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/doc/lctl.8
lustre/include/uapi/linux/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