projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2bd3eab
)
Don't allow FIO_SYNCIO io engine flag to override queue depth
author
Jens Axboe
<jens.axboe@oracle.com>
Mon, 4 Feb 2008 09:48:13 +0000
(10:48 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Mon, 4 Feb 2008 09:48:13 +0000
(10:48 +0100)
Another bad check, just kill it.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fio.c
patch
|
blob
|
blame
|
history
diff --git
a/fio.c
b/fio.c
index 04a06bac1bee010b82866de1ade9ffd5178f3d7f..fcd15286a95b971692b5ca65af9de34e2bfd5662 100644
(file)
--- a/
fio.c
+++ b/
fio.c
@@
-639,11
+639,7
@@
static int init_io_u(struct thread_data *td)
int i, max_units;
char *p;
- if (td->io_ops->flags & FIO_SYNCIO)
- max_units = 1;
- else
- max_units = td->o.iodepth;
-
+ max_units = td->o.iodepth;
max_bs = max(td->o.max_bs[DDIR_READ], td->o.max_bs[DDIR_WRITE]);
td->orig_buffer_size = (unsigned long long) max_bs * (unsigned long long) max_units;