Whamcloud - gitweb
LU-16135 lod: prohibit DoM pattern in plain layout
[fs/lustre-release.git] / lustre / tests / racer / file_rm.sh
1 #!/bin/bash
2 trap 'kill $(jobs -p)' EXIT
3
4 DIR=$1
5 MAX=$2
6
7 while /bin/true ; do
8     file=$((RANDOM % MAX))
9     rm -rf $DIR/$file 2> /dev/null
10     sleep 1
11 done
12
13