projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'cufile' of https://github.com/SystemFabricWorks/fio
[fio.git]
/
engines
/
filecreate.c
diff --git
a/engines/filecreate.c
b/engines/filecreate.c
index 0c3bcdd6b1989e3c331331021cf592e90cd897a2..5fec8544a6a79898fed4e6c4854ffd416234c66a 100644
(file)
--- a/
engines/filecreate.c
+++ b/
engines/filecreate.c
@@
-5,12
+5,10
@@
* of the file creation.
*/
#include <stdio.h>
* of the file creation.
*/
#include <stdio.h>
-#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include "../fio.h"
#include <fcntl.h>
#include <errno.h>
#include "../fio.h"
-#include "../filehash.h"
struct fc_data {
enum fio_ddir stat_ddir;
struct fc_data {
enum fio_ddir stat_ddir;
@@
-51,13
+49,14
@@
static int open_file(struct thread_data *td, struct fio_file *f)
uint64_t nsec;
nsec = ntime_since_now(&start);
uint64_t nsec;
nsec = ntime_since_now(&start);
- add_clat_sample(td, data->stat_ddir, nsec, 0, 0);
+ add_clat_sample(td, data->stat_ddir, nsec, 0, 0
, 0
);
}
return 0;
}
}
return 0;
}
-static int queue_io(struct thread_data *td, struct io_u fio_unused *io_u)
+static enum fio_q_status queue_io(struct thread_data *td,
+ struct io_u fio_unused *io_u)
{
return FIO_Q_COMPLETED;
}
{
return FIO_Q_COMPLETED;
}