Whamcloud - gitweb
LU-13609 llog: list all the log files correctly on MGS/MDT 30/39330/4
authorEmoly Liu <emoly@whamcloud.com>
Fri, 10 Jul 2020 05:05:00 +0000 (13:05 +0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 14 Aug 2020 23:20:12 +0000 (23:20 +0000)
commit678772a15f785bd9365af7dfe83a0c4a34afbdc7
treefe28a983aadb2923aa73d683c662ecb61ac2b899
parent95cd26446e16c63b531ed94a844b5f69c8b3730f
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. And the
minor style issue in LU-13757 is fixed as well.

Lustre-change: https://review.whamcloud.com/38917
Lustre-commit: 1d97a8b4cd3de9074f323332c7b736367a70d419

Signed-off-by: Emoly Liu <emoly@whamcloud.com>
Change-Id: I364d563446833751b1f017fa2bef0351dab56235
Reviewed-on: https://review.whamcloud.com/39330
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