projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01680f3
)
Stop job if it fails to do any IO for a new invocation
author
Jens Axboe
<jens.axboe@oracle.com>
Fri, 1 Feb 2008 08:29:35 +0000
(09:29 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Fri, 1 Feb 2008 08:29:35 +0000
(09:29 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fio.c
patch
|
blob
|
blame
|
history
diff --git
a/fio.c
b/fio.c
index 1c79d6823ae95079f0b445ceac9ed7507bb9be3b..5a3fddf007f4bcf003df6442455bc4ace295179d 100644
(file)
--- a/
fio.c
+++ b/
fio.c
@@
-568,6
+568,12
@@
sync_done:
}
}
+ /*
+ * stop job if we failed doing any IO
+ */
+ if ((td->this_io_bytes[0] + td->this_io_bytes[1]) == 0)
+ td->done = 1;
+
if (td->o.fill_device && td->error == ENOSPC) {
td->error = 0;
td->terminate = 1;