Whamcloud - gitweb
LU-14506 hsm: correct default stripe offset in import
authorJohn L. Hammond <jhammond@whamcloud.com>
Wed, 10 Mar 2021 15:20:29 +0000 (09:20 -0600)
committerAndreas Dilger <adilger@whamcloud.com>
Wed, 5 May 2021 19:00:10 +0000 (19:00 +0000)
commit726068dc45ac62819ae831f2580adc2cc4f26433
tree91dea346b3e86c8ecc2aa2e4491f725e15195595
parent59178afeabe04c7790614be46db1a58f8ee2d16a
LU-14506 hsm: correct default stripe offset in import

In lhsmtool_posix, when calling llapi_hsm_import(), pass a stripe
offset of -1 rather than 0 to select the default. Add sanity-hsm
test_11c() to check that a file may be imported to a directory with a
default striping specifing a pool that does not include OST0000.

Lustre-commit: ea964031d7bdc6f31fccb7f136591b682eb35087
Lustre-change: https://review.whamcloud.com/41978

Signed-off-by: John L. Hammond <jhammond@whamcloud.com>
Change-Id: I40636c0620b2f9314eb13bf23a8cf6d02990f851
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Yingjin Qian <qian@ddn.com>
Reviewed-on: https://review.whamcloud.com/43457
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/tests/sanity-hsm.sh
lustre/utils/lhsmtool_posix.c