Whamcloud - gitweb
LU-11891 utils: getstripe use --mdt-index consistently 16/34116/2
authorAndreas Dilger <adilger@whamcloud.com>
Sun, 27 Jan 2019 18:23:48 +0000 (11:23 -0700)
committerOleg Drokin <green@whamcloud.com>
Sun, 3 Mar 2019 00:21:25 +0000 (00:21 +0000)
commit88d8f0f86bd4994e07aa12bd00cbc7ad3192205c
tree6b190544a60b862fb6cc4b265a797bdd3d2358dd
parentd12959c69fd486054619d52dbb32d7ea91327f94
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.

Fixes: 6c617a3d56 ("LU-10856 tests: remove deprecated lfs ...")
Test-Parameters: trivial
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I013b2198f3a39533da9a0067a0bf5846604b3052
Reviewed-on: https://review.whamcloud.com/34116
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity.sh
lustre/utils/lfs.c