Whamcloud - gitweb
LU-2149 llog: lctl to work with llogs from command line 54/4254/7
authorAmir Shehata <amir.shehata@intel.com>
Wed, 18 Sep 2013 16:07:56 +0000 (09:07 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 14 Nov 2013 02:50:31 +0000 (02:50 +0000)
commit5bb4d552208b350d6dd7996d75db7e63ec61d898
tree4f870de7af47de968e6c18672d8085139f54dae4
parent6a1204f5d06c6499e171a2da30677e46c6057166
LU-2149 llog: lctl to work with llogs from command line

- mgs_list_logs() is introduced to get all of configs and
  mgs_iocontrol handles that and also cancel/remove ioctl
- remove obsoleted code from mdc_iocontrol
- add handler to list llog catalogs from mdt_iocontrol too
- lctl llog_print outputs records in YAML format

Signed-off-by: Amir Shehata <amir.shehata@intel.com>
Change-Id: Ic6e392403da18a2d7578aafdddf01007c3b3c30e
Reviewed-on: http://review.whamcloud.com/4254
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/include/lustre_log.h
lustre/mdc/mdc_request.c
lustre/mdt/mdt_handler.c
lustre/mgs/mgs_handler.c
lustre/mgs/mgs_llog.c
lustre/obdclass/llog_internal.h
lustre/obdclass/llog_ioctl.c
lustre/obdclass/obd_config.c
lustre/utils/lctl.c
lustre/utils/obd.c