diff options
author | Elliott Hughes <enh@google.com> | 2017-05-19 18:53:02 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2017-05-19 19:14:35 -0700 |
commit | eda3a60699e1d96bb68875ef2169ca819eb8f4f9 (patch) | |
tree | 7da7fbd89e536bc8e7465f86c0b738dae13ec124 /engines/guasi.c | |
parent | a54b8cbc93ac0b3ed398f93a3aec77c35a1b178a (diff) | |
download | fio-eda3a60699e1d96bb68875ef2169ca819eb8f4f9.tar.gz |
Update to fio-2.20.
Bug: N/A
Test: builds, seems to work
Change-Id: I455dcc898f00dc50ae5cb65d1b381982df5a51e0
Diffstat (limited to 'engines/guasi.c')
-rw-r--r-- | engines/guasi.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/guasi.c b/engines/guasi.c index c586f09c..eb12c899 100644 --- a/engines/guasi.c +++ b/engines/guasi.c @@ -50,7 +50,7 @@ static int fio_guasi_prep(struct thread_data fio_unused *td, struct io_u *io_u) static struct io_u *fio_guasi_event(struct thread_data *td, int event) { - struct guasi_data *ld = td->io_ops->data; + struct guasi_data *ld = td->io_ops_data; struct io_u *io_u; struct guasi_reqinfo rinf; @@ -82,7 +82,7 @@ static struct io_u *fio_guasi_event(struct thread_data *td, int event) static int fio_guasi_getevents(struct thread_data *td, unsigned int min, unsigned int max, const struct timespec *t) { - struct guasi_data *ld = td->io_ops->data; + struct guasi_data *ld = td->io_ops_data; int n, r; long timeo = -1; @@ -115,7 +115,7 @@ static int fio_guasi_getevents(struct thread_data *td, unsigned int min, static int fio_guasi_queue(struct thread_data *td, struct io_u *io_u) { - struct guasi_data *ld = td->io_ops->data; + struct guasi_data *ld = td->io_ops_data; fio_ro_check(td, io_u); @@ -148,7 +148,7 @@ static void fio_guasi_queued(struct thread_data *td, struct io_u **io_us, int nr static int fio_guasi_commit(struct thread_data *td) { - struct guasi_data *ld = td->io_ops->data; + struct guasi_data *ld = td->io_ops_data; int i; struct io_u *io_u; struct fio_file *f; @@ -198,7 +198,7 @@ static int fio_guasi_cancel(struct thread_data fio_unused *td, static void fio_guasi_cleanup(struct thread_data *td) { - struct guasi_data *ld = td->io_ops->data; + struct guasi_data *ld = td->io_ops_data; int n; GDBG_PRINT(("fio_guasi_cleanup(%p)\n", ld)); @@ -235,7 +235,7 @@ static int fio_guasi_init(struct thread_data *td) ld->queued_nr = 0; ld->reqs_nr = 0; - td->io_ops->data = ld; + td->io_ops_data = ld; GDBG_PRINT(("fio_guasi_init(): depth=%d -> %p\n", td->o.iodepth, ld)); return 0; |