Whamcloud - gitweb
LU-10260 hsm: enable max archive_id posix copytool 71/30171/6
authorThomas Stibor <t.stibor@gsi.de>
Mon, 20 Nov 2017 15:36:57 +0000 (16:36 +0100)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 3 Mar 2018 04:29:47 +0000 (04:29 +0000)
commitc98a51f2cebd3417956f5823a0531311e2895028
tree649f96f342e58a2cd377f7328aa67b275f5e4bca
parented91ee6bd642e031dab781ab4ebf6524476beddd
LU-10260 hsm: enable max archive_id posix copytool

The current maximum archive-id in posix copytool is
limited to id < LL_HSM_MAX_ARCHIVE. However, the Lustre HSM
implementation checks as follows for the maximum:
if (id > LL_HSM_MAX_ARCHIVE) then flag ERROR.
Thus the number of archive id's is in the
range 0,1,..,32 = LL_HSM_MAX_ARCHIVE, and therefore
32 = LL_HSM_MAX_ARCHIVE should be included.
Note, archive-id = 0 is reserved to specify to listen to
ANY archive id and is use as default when no archive-id
option is provided.

Test-Parameters: trivial testlist=sanity-hsm
Signed-off-by: Thomas Stibor <t.stibor@gsi.de>
Change-Id: I6289c8c0e7d86b05f1f2d821b7f6b3127e5fa352
Reviewed-on: https://review.whamcloud.com/30171
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/utils/lhsmtool_posix.c