projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't limit direct IO to 512b aligned
[fio.git]
/
filesetup.c
diff --git
a/filesetup.c
b/filesetup.c
index a0a4b80d33483d70c00db8fe56882ce073136286..1a5a7eccb1b8c95c545c7b94923990d6a005e23c 100644
(file)
--- a/
filesetup.c
+++ b/
filesetup.c
@@
-156,6
+156,9
@@
static int pre_read_file(struct thread_data *td, struct fio_file *f)
unsigned int bs;
char *b;
+ if (td->io_ops->flags & FIO_PIPEIO)
+ 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");