projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Drop struct thread_data dependency from os headers
[fio.git]
/
filesetup.c
diff --git
a/filesetup.c
b/filesetup.c
index cd486eaa41186ec3668e22b687ec868962b2a571..612e79474dc4b43c0707d6a43dccf3d98a2f9e8f 100644
(file)
--- a/
filesetup.c
+++ b/
filesetup.c
@@
-239,6
+239,9
@@
static int pre_read_file(struct thread_data *td, struct fio_file *f)
td_ioengine_flagged(td, FIO_NOIO))
return 0;
+ if (f->filetype == FIO_TYPE_CHAR)
+ return 0;
+
if (!fio_file_open(f)) {
if (td->io_ops->open_file(td, f)) {
log_err("fio: cannot pre-read, failed to open file\n");