Whamcloud - gitweb
LU-6710 tests: Constrain stripe index conf-sanity test 82a 24/15824/3
authorJames Nunez <james.a.nunez@intel.com>
Fri, 31 Jul 2015 21:00:03 +0000 (15:00 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 9 Jan 2016 00:06:15 +0000 (00:06 +0000)
commitc919cdf5d960da9f3b78fd2c04b7e09ef915d3c6
tree9ef0bd423490e0e808f8bdf607a2205e70b7e4d4
parentf32919289d43dc9df37b93cf6fea483116fac5cb
LU-6710 tests: Constrain stripe index conf-sanity test 82a

conf-sanity test 82a specifies the OSTs to stripe a file over.
The OST index is computed as RANDOM * 2 for a maximum of 65534.
Yet, the maximum stripe count is 65532. Thus, the OST index in
conf-sanity test 82a needs to be limited.

Also, change the single use of the deprecated
llapi_stripe_offset_is_valid() to llapi_stripe_index_is_valid().

Signed-off-by: James Nunez <james.a.nunez@intel.com>
Change-Id: I4ceb44d639b88527105c1e8812cbd7590d041316
Reviewed-on: http://review.whamcloud.com/15824
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Saurabh Tandan <saurabh.tandan@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/tests/conf-sanity.sh
lustre/utils/liblustreapi.c