
MOUNT=$1

rm -rf $MOUNT/testdir1
rm -rf $MOUNT/testdir2
./ceph daemon mds.a flush journal

mkdir $MOUNT/testdir1
for n in `seq 0 500`
do
touch $MOUNT/testdir1/file$n
done

mkdir $MOUNT/testdir2
for n in `seq 0 500`
do
touch $MOUNT/testdir2/file$n
done

./ceph daemon mds.a flush journal
