X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Ftests%2Ftest-framework.sh;h=7af34e51145d019a5a5f913bca25ff846c83bd09;hp=f34eb2fc1c09e600af4f4203d3fcd128f5c906cf;hb=39eabbad40b25b1950ae21c9ba72e8de4098565b;hpb=c5cffa4e36b24854a74185ee664d14b1ced68e97;ds=sidebyside diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index f34eb2f..7af34e5 100644 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -1297,7 +1297,7 @@ check_grant() { # write some data to sync client lost_grant rm -f $DIR1/${tfile}_check_grant_* 2>&1 for i in `seq $OSTCOUNT`; do - $LFS setstripe $DIR1/${tfile}_check_grant_$i 0 $(($i -1)) 1 + $LFS setstripe $DIR1/${tfile}_check_grant_$i -i $(($i -1)) -c 1 dd if=/dev/zero of=$DIR1/${tfile}_check_grant_$i bs=4k \ count=1 > /dev/null 2>&1 done