Whamcloud - gitweb
LU-13903 utils: separate out server code for lctl 41/42141/5
authorJames Simmons <jsimmons@infradead.org>
Wed, 7 Apr 2021 16:22:53 +0000 (12:22 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 28 Apr 2021 02:12:28 +0000 (02:12 +0000)
commit0b7ddf32e336b06d459880faf9831db43ffae9cf
tree9046fbfe32ac4492bee74520cfcb701444770bc2
parentf125ba1f42b9b0462207949a7e2066ccb577d5e6
LU-13903 utils: separate out server code for lctl

The utility lctl is used by both client and server management but
the code is not cleanly separated for each case. This breaks
building lctl for the native Linux Lustre client since it only
contains client related work. Fix up lctl to be slimed down for
client only targets.

Change-Id: I0c8c037087de1155e478a2580fc952629c341447
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/42141
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/utils/lustre_cfg.c
lustre/utils/obd.c