projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fio: make client operations pluggable
[fio.git]
/
engines
/
skeleton_external.c
diff --git
a/engines/skeleton_external.c
b/engines/skeleton_external.c
index 26dbedf6b9b4ad9ef506aad138c185cf49f8ef81..548676a782a99bd94519c40444e866214d1fd25b 100644
(file)
--- a/
engines/skeleton_external.c
+++ b/
engines/skeleton_external.c
@@
-37,8
+37,8
@@
static struct io_u *fio_skeleton_event(struct thread_data *td, int event)
* which may then be retrieved by calling the ->event() hook with the event
* numbers. Required.
*/
* which may then be retrieved by calling the ->event() hook with the event
* numbers. Required.
*/
-static int fio_skeleton_getevents(struct thread_data *td,
int min, int max
,
- struct timespec *t)
+static int fio_skeleton_getevents(struct thread_data *td,
unsigned int min
,
+
unsigned int max,
struct timespec *t)
{
return 0;
}
{
return 0;
}
@@
-59,7
+59,7
@@
static int fio_skeleton_cancel(struct thread_data *td, struct io_u *io_u)
*
* The io engine must transfer in the direction noted by io_u->ddir
* to the buffer pointed to by io_u->xfer_buf for as many bytes as
*
* The io engine must transfer in the direction noted by io_u->ddir
* to the buffer pointed to by io_u->xfer_buf for as many bytes as
- * io_u->xfer_buflen. Residual data count may be set in io_u->resid
ual
+ * io_u->xfer_buflen. Residual data count may be set in io_u->resid
* for a short read/write.
*/
static int fio_skeleton_queue(struct thread_data *td, struct io_u *io_u)
* for a short read/write.
*/
static int fio_skeleton_queue(struct thread_data *td, struct io_u *io_u)