Whamcloud - gitweb
LU-17744 ldiskfs: mballoc stats fixes
[fs/lustre-release.git] / lustre / tests / racer / dir_create.sh
1 #!/bin/bash
2 trap 'kill $(jobs -p)' EXIT
3
4 DIR=$1
5 MAX=$2
6
7 create(){
8     echo "asdf" > $DIR/$file/$file/$file
9 }
10
11 while /bin/true ; do
12     file=$((RANDOM % MAX))
13     mkdir -p $DIR/$file/$file/ 2> /dev/null
14     create 2> /dev/null
15 done