projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove io_u->endpos
[fio.git]
/
engines
/
sg.c
diff --git
a/engines/sg.c
b/engines/sg.c
index cb44fa457700e34c5299921cf56becfcb01f3126..39f99d8d0922050eb1a3aa3d60305cd865a09113 100644
(file)
--- a/
engines/sg.c
+++ b/
engines/sg.c
@@
-311,8
+311,6
@@
static void fio_sgio_cleanup(struct thread_data *td)
free(sd->pfds);
free(sd->sgbuf);
free(sd);
-
- td->io_ops->data = NULL;
}
}
@@
-406,6
+404,7
@@
static struct ioengine_ops ioengine = {
.cleanup = fio_sgio_cleanup,
.open_file = fio_sgio_open,
.close_file = generic_close_file,
+ .get_file_size = generic_get_file_size,
.flags = FIO_SYNCIO | FIO_RAWIO,
};