Whamcloud - gitweb
LU-2291 tests: add "lfs setstripe" to racer
authorAndreas Dilger <adilger@whamcloud.com>
Tue, 6 Nov 2012 19:22:08 +0000 (12:22 -0700)
committerOleg Drokin <green@whamcloud.com>
Mon, 24 Dec 2012 06:48:39 +0000 (01:48 -0500)
commited4d6769ec740cfb86505c1c236e19585532ef2f
treea084758ee0b5b8ae7657c23d2ae6305305141965
parent524569c84dd69d6768f6bacb6ba36e764dd26870
LU-2291 tests: add "lfs setstripe" to racer

During the file_create.sh test, instead of just creating the file with
default striping use "lfs setstripe -c ${{RANDOM % OSTCOUNT}}" to both
exercise the "lfs setstripe" path under load, as well as make the
file IO spread across multiple OSTs.

Test-Parameters: envdefinitions=SLOW=yes testlist=racer
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I26020d516388af0bb95d320c0f2a364395bd0b12
Reviewed-on: http://review.whamcloud.com/4478
Reviewed-by: Jian Yu <jian.yu@intel.com>
Tested-by: Hudson
Reviewed-by: wangdi <di.wang@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/racer/file_create.sh