Whamcloud - gitweb
LU-6051 utils: Remove incorrect request for getstripe help 00/30800/3
authorSteve Guminski <stephenx.guminski@intel.com>
Fri, 18 Aug 2017 12:37:29 +0000 (08:37 -0400)
committerJohn L. Hammond <john.hammond@intel.com>
Mon, 12 Mar 2018 18:18:34 +0000 (18:18 +0000)
commit44a4b7931f5dbaf0a07c41aaedf6ad93d671dca9
tree7fc5e45c02bf7b59346d6137db2ef2c0f2d8f02f
parent22ef5d606a629d79671ec3e340f068a7d0a38469
LU-6051 utils: Remove incorrect request for getstripe help

The option flag for stripe-size in the getstripe command was changed
in Lustre 1.8.  To detect the correct flag to use, the help was
parsed.  However, the help was incorrectly invoked by using the
"--help" option, instead of the correct "lfs help getstripe".
Since interoperability with 1.8 is no longer needed, the incorrect
code is removed and the correct flag is hard-coded.

Test-Parameters: trivial
Lustre-change: https://review.whamcloud.com/28597
Lustre-commit: ad45173d94e0be94de90368019be52a905bcb993

Signed-off-by: Steve Guminski <stephenx.guminski@intel.com>
Change-Id: I29ae644c7d6b2ed247573d83c943cb556cfb6325
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/30800
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/scripts/lfs_migrate