Whamcloud - gitweb
LU-13460 lfs: make function print_failed_tgt() work correctly 59/38959/6
authorEmoly Liu <emoly@whamcloud.com>
Wed, 17 Jun 2020 07:43:00 +0000 (15:43 +0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 10 Jul 2020 16:52:52 +0000 (16:52 +0000)
commit219cbfc7665a9260f3d5c8ceee823506a89df42f
tree235041185cb2db6b5161719589960bbd3b744a75
parent3d9900e78e180a211c50ea1030fa147c5a330f22
LU-13460 lfs: make function print_failed_tgt() work correctly

param->fp_xxx_index is the number of the specified targets, not
the specific index, so it can't be passed into llapi_obd_statfs()
directly to get the statfs information. Instead, all the targets
listed in param->fp_xxx_indexes should be passed one by one.

Also, $mdt_idx in sanity.sh test_56rb should be initialized with
the correct mdt index.

Signed-off-by: Emoly Liu <emoly@whamcloud.com>
Change-Id: Idffdddac1b5b249aa903b97912c767826f3b146c
Reviewed-on: https://review.whamcloud.com/38959
Reviewed-by: Mike Pershin <mpershin@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity.sh
lustre/utils/lfs.c
lustre/utils/liblustreapi.c