projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b8d42b2
)
Ensure that we exit with non-zero status on IO engine load failure
author
Jens Axboe
<jaxboe@fusionio.com>
Sat, 22 Jan 2011 22:11:03 +0000
(15:11 -0700)
committer
Jens Axboe
<jaxboe@fusionio.com>
Sat, 22 Jan 2011 22:11:03 +0000
(15:11 -0700)
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
ioengines.c
patch
|
blob
|
blame
|
history
diff --git
a/ioengines.c
b/ioengines.c
index 6b677cb9053a16f7779b81d4a3fd54b9195a0c38..7f4e104e927aeee75fa04d51c699d41460c49ae0 100644
(file)
--- a/
ioengines.c
+++ b/
ioengines.c
@@
-312,6
+312,8
@@
int td_io_init(struct thread_data *td)
log_err("fio: io engine init failed. Perhaps try"
" reducing io depth?\n");
}
log_err("fio: io engine init failed. Perhaps try"
" reducing io depth?\n");
}
+ if (!td->error)
+ td->error = ret;
}
return ret;
}
return ret;