I set data_error=(1,1) and threads=128, it seems VDbench does not stop immediately at failure. It at least takes 4 seconds to stop.
I see a data validation error on my drive and need to stop at failure point to root cause it.
data_errors=(1,1)
sd=sd1,lun=$dev,threads=128,openflags=o_direct
wd=wd1,sd=sd1,xfersize=4k,rdpct=50,seekpct=100
rd=random_write_read,wd=wd1,iorate=max,elapsed=30,interval=1,forxfersize=(4k-2m,d)