projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
client: handle disk util for all output formats
[fio.git]
/
engines
/
skeleton_external.c
diff --git
a/engines/skeleton_external.c
b/engines/skeleton_external.c
index 7e08afbb0fb34ed415d6a5548903c675baf97f70..1b6625b2e49708500f6fe0379ffbe8a66076b391 100644
(file)
--- a/
engines/skeleton_external.c
+++ b/
engines/skeleton_external.c
@@
-3,7
+3,7
@@
*
* Should be compiled with:
*
*
* Should be compiled with:
*
- * gcc -Wall -O2 -g -shared -rdynamic -fPIC -o skeleton_external.o skeleton_external.c
+ * gcc -Wall -O2 -g -
D_GNU_SOURCE -include ../config-host.h -
shared -rdynamic -fPIC -o skeleton_external.o skeleton_external.c
* (also requires -D_GNU_SOURCE -DCONFIG_STRSEP on Linux)
*
*/
* (also requires -D_GNU_SOURCE -DCONFIG_STRSEP on Linux)
*
*/
@@
-90,8
+90,8
@@
static int fio_skeleton_cancel(struct thread_data *td, struct io_u *io_u)
* io_u->xfer_buflen. Residual data count may be set in io_u->resid
* for a short read/write.
*/
* io_u->xfer_buflen. Residual data count may be set in io_u->resid
* for a short read/write.
*/
-static enum fio_q_status
-
fio_skeleton_queue(struct thread_data *td,
struct io_u *io_u)
+static enum fio_q_status
fio_skeleton_queue(struct thread_data *td,
+
struct io_u *io_u)
{
/*
* Double sanity check to catch errant write on a readonly setup
{
/*
* Double sanity check to catch errant write on a readonly setup