| 1 |
# |
| 2 |
# RUNDIR - a newly created directory on the nfs share. |
| 3 |
# will exist only when running COMMAND. |
| 4 |
# |
| 5 |
# LOCALDIR - a directory on the local fs meant to serve as storage space for |
| 6 |
# the fetch stage and setup() call |
| 7 |
# will exist for setup, fetch stages and when COMMAND is run, but |
| 8 |
# not durning check(). |
| 9 |
# |
| 10 |
|
| 11 |
# |
| 12 |
# the command to run |
| 13 |
# |
| 14 |
COMMAND="iozone -IazcR -f ./testfile" |
| 15 |
|
| 16 |
# |
| 17 |
# command description |
| 18 |
# |
| 19 |
DESCRIPTION="The IOzone test suite from iozone.org - run with O_DIRECT (-I argument)" |
| 20 |
|
| 21 |
# workload_check() |
| 22 |
# - no arguments |
| 23 |
# - any output to stdout means the check failed |
| 24 |
# - use need_* functions from workloads.sh |
| 25 |
workload_check() |
| 26 |
{ |
| 27 |
need_bin iozone |
| 28 |
} |
| 29 |
|
| 30 |
# workload_setup() |
| 31 |
# - no arguments |
| 32 |
# - non-zero return indicates a problem |
| 33 |
workload_setup() |
| 34 |
{ |
| 35 |
return 0 |
| 36 |
} |