Whamcloud - gitweb
b=22766 cascading_rw: take lmm_stripe_count returned by ioctl(LL_IOC_LOV_SETSTRIPE)
[fs/lustre-release.git] / lustre / tests / racer / file_symlink.sh
1 #!/bin/bash
2
3 DIR=$1
4 MAX=$2
5
6 while /bin/true ; do 
7     file=$((RANDOM % MAX))
8     new_file=$((RANDOM % MAX))
9     ln -s $file $DIR/$new_file 2> /dev/null
10     ln -s $file/$file/$file $DIR/$new_file 2> /dev/null
11 done