Whamcloud - gitweb
LU-13107 utils: clean up lctl command usage
authorAndreas Dilger <adilger@whamcloud.com>
Sat, 28 Dec 2019 09:42:54 +0000 (02:42 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Wed, 9 Mar 2022 19:17:36 +0000 (19:17 +0000)
commit78fdcbdb5cce642472cd9db7d0f0f67f4d2e5481
treed0ee2e567be52d98d965456db602c5eab9cd2cb3
parent395f3e1a55d5cde4efd809c92d108e28262989bc
LU-13107 utils: clean up lctl command usage

The lctl usage is confusing because it lists a number of valid
commands after "testing (DANGEROUS)", such as LFSCK and llog.

Move the useful commands before the "testing" section so it is
not mis-interpreted as all following commands are dangerous.
Group some other commands together with more related commands,
rather than whatever order they happened to be imlpemented in.

Remove function prototypes for commands that no longer exist.

Lustre-change: https://review.whamcloud.com/37108
Lustre-commit: b0efebdaef52d8ac9b02857166ceb00079612ebc

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I469f9c92953762cc46a68e44238c4b67ebacab07
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Stephane Thiell <sthiell@stanford.edu>
Reviewed-on: https://review.whamcloud.com/46637
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Mike Pershin <mpershin@whamcloud.com>
lustre/utils/lctl.c
lustre/utils/obdctl.h