Combine two different help messages for migrate in one.
Test-Parameters: trivial
Change-Id: I2b44006dbd9114155cf7a1f65e68d3796f857ee3
Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-on: http://review.whamcloud.com/20541
Tested-by: Jenkins
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
"migrate a directory between MDTs.\n"
"usage: migrate --mdt-index <mdt_idx> [--verbose|-v] "
"<directory>\n"
"migrate a directory between MDTs.\n"
"usage: migrate --mdt-index <mdt_idx> [--verbose|-v] "
"<directory>\n"
- "\tmdt_idx: index of the destination MDT\n"},
- {"migrate", lfs_setstripe, 0,
+ "\tmdt_idx: index of the destination MDT\n"
+ "\n"
"migrate file objects from one OST "
"layout\nto another (may be not safe with concurent writes).\n"
"migrate file objects from one OST "
"layout\nto another (may be not safe with concurent writes).\n"
"[--stripe-count|-c] <stripe_count>\n"
"[--stripe-count|-c] <stripe_count>\n"
- "[--stripe-index|-i] <start_ost_index>\n"
- "[--stripe-size|-S] <stripe_size>\n"
- "[--pool|-p] <pool_name>\n"
- "[--ost-list|-o] <ost_indices>\n"
- "[--block|-b]\n"
- "[--non-block|-n]\n"
- "<file|directory>\n"
+ " [--stripe-index|-i] <start_ost_index>\n"
+ " [--stripe-size|-S] <stripe_size>\n"
+ " [--pool|-p] <pool_name>\n"
+ " [--ost-list|-o] <ost_indices>\n"
+ " [--block|-b]\n"
+ " [--non-block|-n]\n"
+ " <file|directory>\n"
"\tstripe_count: number of OSTs to stripe a file over\n"
"\tstripe_ost_index: index of the first OST to stripe a file over\n"
"\tstripe_size: number of bytes to store before moving to the next OST\n"
"\tstripe_count: number of OSTs to stripe a file over\n"
"\tstripe_ost_index: index of the first OST to stripe a file over\n"
"\tstripe_size: number of bytes to store before moving to the next OST\n"