Whamcloud - gitweb
LU-11891 utils: getstripe use --mdt-index consistently 28/37728/2
authorAndreas Dilger <adilger@whamcloud.com>
Sun, 27 Jan 2019 18:23:48 +0000 (11:23 -0700)
committerOleg Drokin <green@whamcloud.com>
Tue, 10 Mar 2020 17:06:08 +0000 (17:06 +0000)
commit83c603a0e4a4c357cbce1bdb587c30ca5bf1298f
tree8ce419630377aabdd7b736447756593227859479
parent822b26cdfceaf91573fbf77a89386a106cba02bb
LU-11891 utils: getstripe use --mdt-index consistently

LU-10856 fixed most usages of "warning: '-M' deprecated,
use '--mdt-index' or '-m' instead" but missed a few in
cases in sanity test_271d, test_271e, and test_271f.
Fix those tests to use "--mdt-index".

Also, lfs has a few places were the usage of "--mdt-index"
and "--mdt" is inconsistent.  Fix those options to be used
consistently across all commands.

Lustre-change: https://review.whamcloud.com/34116
Lustre-commit: 88d8f0f86bd4994e07aa12bd00cbc7ad3192205c

Fixes: 6c617a3d56 ("LU-10856 tests: remove deprecated lfs ...")

Test-Parameters: trivial
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I013b2198f3a39533da9a0067a0bf5846604b3052
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/37728
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity.sh
lustre/utils/lfs.c