Whamcloud - gitweb
b=14512
[fs/lustre-release.git] / lustre / tests / test-framework.sh
index f34eb2f..7af34e5 100644 (file)
@@ -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
        # 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
                dd if=/dev/zero of=$DIR1/${tfile}_check_grant_$i bs=4k \
                                              count=1 > /dev/null 2>&1 
        done