Whamcloud - gitweb
LU-10114 hsm: increase upper limit of maximum HSM backends registered with MDT 97/32197/32
authorTeddy Zheng <teddy@ddn.com>
Tue, 13 Nov 2018 12:42:34 +0000 (07:42 -0500)
committerOleg Drokin <green@whamcloud.com>
Thu, 29 Nov 2018 22:55:54 +0000 (22:55 +0000)
commit3bfb6107ba4e92d8aa02e842502bc44bac7b8b43
tree6f08b594999d80d1e68cf7a9eaafc90689f90a05
parent7b46ff54afb23c04dec74ef162ed9052f7259e4a
LU-10114 hsm: increase upper limit of maximum HSM backends registered with MDT

Lustre only supports at most 32 HSM backends, which limits HSM to be applied
to other features, such as LPCC. This patch breaks the limitation by allowing
the system take any interger number as a valid archive-id.

Test-Parameters: clientjob=lustre-b2_10 clientbuildno=136 testlist=sanity-hsm
Test-Parameters: mdsjob=lustre-b2_10 ossjob=lustre-b2_10 serverbuildno=136 testlist=sanity-hsm

Change-Id: I9523b92500b962db3e45a2bd6a67dba54eef5335
Signed-off-by: Teddy Zheng <teddy@ddn.com>
Signed-off-by: Li Xi <lixi@ddn.com>
Reviewed-on: https://review.whamcloud.com/32197
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
14 files changed:
lustre/include/lustre_export.h
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/include/uapi/linux/lustre/lustre_kernelcomm.h
lustre/llite/dir.c
lustre/llite/file.c
lustre/llite/llite_lib.c
lustre/lmv/lmv_obd.c
lustre/mdc/mdc_request.c
lustre/mdt/mdt_hsm.c
lustre/ptlrpc/layout.c
lustre/tests/llapi_hsm_test.c
lustre/tests/sanity-hsm.sh
lustre/utils/lhsmtool_posix.c
lustre/utils/liblustreapi_hsm.c