. $CT_FUNCTIONS PATH="$PATH:$CT_TST" if ! which aio-stress > /dev/null 2>&1; then invalid "couldn't find aio-stress binary in my path" fi # this aio-stress has a hack that tells the aio-stress instance to work with a # given region. the first set of arguments here lets one node beat on the # first 2m of a 4m file while the second set of arguments tells another node to # work with the second 2m of that 4m file. but the harness doesn't really # encourage that kind of test yet. # -O -s 4m -C 2m -r 32k -i 1024 -b 1024 /mnt/ocfs2/shared-aio # -O -s 4m -z 2m -C 2m -r 32k -i 1024 -b 1024 /mnt/ocfs2/shared-aio out "256k aio/dio ops on a 64meg file" aio-stress -O -s 64m -r 256k -i 1024 -b 1024 $CT_DIR/aio-stress-file || \ fail "aio-stress failed" pass