Whamcloud - gitweb
LU-13609 llog: list all the log files correctly on MGS/MDT 17/38917/6
authorEmoly Liu <emoly@whamcloud.com>
Fri, 12 Jun 2020 08:12:00 +0000 (16:12 +0800)
committerOleg Drokin <green@whamcloud.com>
Sat, 4 Jul 2020 03:02:40 +0000 (03:02 +0000)
commit1d97a8b4cd3de9074f323332c7b736367a70d419
treeb1f94bc77a55169ad48b88288bd2b1a7f1d8161f
parent979f5e1db041dc49585b97c4915a6bc3e58435da
LU-13609 llog: list all the log files correctly on MGS/MDT

"lctl --device xxx llog_catlist" should list all the config log on
MGS and catalog on MDT correctly without any buffer size limit.
If data can't be fetched in one time, data->ioc_count is used to
save the number of all the fetched logs and then continue.

conf-sanity.sh test_123af is added to verify this patch.

Signed-off-by: Emoly Liu <emoly@whamcloud.com>
Change-Id: I364d563446833751b1f017fa2bef0351dab56235
Reviewed-on: https://review.whamcloud.com/38917
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Ben Evans <beevans@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/obd_support.h
lustre/mgs/mgs_llog.c
lustre/obdclass/llog_ioctl.c
lustre/tests/conf-sanity.sh
lustre/utils/obd.c