Whamcloud - gitweb
LU-13609 mgs: fix config_log buffer handling 78/41478/5
authorStephane Thiell <sthiell@stanford.edu>
Thu, 11 Feb 2021 00:15:02 +0000 (16:15 -0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 26 Feb 2021 08:25:12 +0000 (08:25 +0000)
commite3f17defc141d8847562b610931255d37ed4dd3c
tree1b23d928ed30b56c72312fba4a234288841e61b6
parentc35c1babc7466ed1f49a9efc879a4aaba8d000e6
LU-13609 mgs: fix config_log buffer handling

Fix buffer handling in mgs_list_logs() to list all MGS config_logs
using multiple ioctl calls when we have a large number of targets.

Fixes: 1d97a8b4cd3d ("LU-13609 llog: list all the log files correctly on MGS/MDT")
Signed-off-by: Stephane Thiell <sthiell@stanford.edu>
Change-Id: I1bf32e918e242f4da83c3d1624b7285a18a88d01
Reviewed-on: https://review.whamcloud.com/41478
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Emoly Liu <emoly@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mgs/mgs_llog.c