xfstests: Make test 272 work for ext3
[xfstests-dev.git] / run.metaperf_10i_1000n
1 #!/bin/bash
2 #
3 # Copyright (c) 2003 Silicon Graphics, Inc.  All Rights Reserved.
4 #
5 # This program is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU General Public License as
7 # published by the Free Software Foundation.
8 #
9 # This program is distributed in the hope that it would be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write the Free Software Foundation,
16 # Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
17 #
18
19 # Runs the metaperf metadata micro-benchmark.
20 # Use 1000 files, 10 iterations.
21
22
23 [ -z "$here" ] && here=`pwd`
24 . $here/common.metaperf
25
26 if [ $# -gt 0 ]; then
27     _format_header
28     exit 0
29 fi
30
31 $here/src/metaperf -d . -i 10 -n 1000 -l15 $allops | _format_metaperf