Whamcloud - gitweb
LU-13425 lfs: support numeric hash type by "lfs migrate -H" 82/38182/8
authorEmoly Liu <emoly@whamcloud.com>
Thu, 9 Apr 2020 11:30:12 +0000 (19:30 +0800)
committerOleg Drokin <green@whamcloud.com>
Sun, 19 Apr 2020 08:45:10 +0000 (08:45 +0000)
commitbf952126b6adf54d164720dc10379478a62a1b2b
treeafedafbf0ff285b963d22d0f9381d4e6a37f9802
parent9051844cec34ab4f3427adc28bc1948706f5ffc2
LU-13425 lfs: support numeric hash type by "lfs migrate -H"

This patch allows "lfs migrate -H" to use numertic hash type in case
of any error message returned by the server in such a form, e.g.
"run 'lfs migrate -m 1 -c 1 -H 3 dir1' to finish migration".

sanity.sh test_230d is modifed a little to verify this patch and
lfs-migrate.1 and lfs migrate usage is updated to reflect this change.

Signed-off-by: Emoly Liu <emoly@whamcloud.com>
Change-Id: I19cda608b2d28e8e392f03db366767b829ed6dc6
Reviewed-on: https://review.whamcloud.com/38182
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
lustre/doc/lfs-migrate.1
lustre/tests/sanity.sh
lustre/utils/lfs.c