projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
adee86c
)
[PATCH] SG IO engine: remember to set io_u->file in init
author
Jens Axboe
<jens.axboe@oracle.com>
Thu, 8 Feb 2007 19:29:41 +0000
(20:29 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Thu, 8 Feb 2007 19:29:41 +0000
(20:29 +0100)
It's now mandatory, since it supports multiple files now.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
engines/sg.c
patch
|
blob
|
blame
|
history
diff --git
a/engines/sg.c
b/engines/sg.c
index 877264acd15b3316f4abd6b2c5002f09177f83df..6c997bd47cad75523582ea77bc7da454396c69f0 100644
(file)
--- a/
engines/sg.c
+++ b/
engines/sg.c
@@
-285,6
+285,7
@@
static int fio_sgio_get_bs(struct thread_data *td, unsigned int *bs)
int ret;
io_u = __get_io_u(td);
int ret;
io_u = __get_io_u(td);
+ io_u->file = &td->files[0];
assert(io_u);
hdr = &io_u->hdr;
assert(io_u);
hdr = &io_u->hdr;