projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Allow io engine to do the file setup
[fio.git]
/
fio.c
diff --git
a/fio.c
b/fio.c
index 8278b60eb46dc2c7310d929ba00fd248620e565e..ea57d78308b149491f61a39e9e2caeb8dd2de552 100644
(file)
--- a/
fio.c
+++ b/
fio.c
@@
-1210,8
+1210,8
@@
static int setup_file(struct thread_data *td)
struct stat st;
int flags = 0;
- if (td->io_ops->
flags & FIO_CPUIO
)
- return
0
;
+ if (td->io_ops->
setup
)
+ return
td->io_ops->setup(td)
;
if (stat(td->file_name, &st) == -1) {
if (errno != ENOENT) {