projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stat: put 'percentiles' object in appropriate 'clat_ns' or 'lat_ns' parent
[fio.git]
/
engines
/
falloc.c
diff --git
a/engines/falloc.c
b/engines/falloc.c
index 2b00d525d648e071bb17a7e97c0b63405f192ec7..6382569b9a92c42c1ad5d76a75d9441808de6cc8 100644
(file)
--- a/
engines/falloc.c
+++ b/
engines/falloc.c
@@
-9,11
+9,7
@@
*
*/
#include <stdio.h>
*
*/
#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <sys/uio.h>
#include <errno.h>
#include <errno.h>
-#include <assert.h>
#include <fcntl.h>
#include "../fio.h"
#include <fcntl.h>
#include "../fio.h"
@@
-69,8
+65,10
@@
open_again:
#endif
#ifndef FALLOC_FL_PUNCH_HOLE
#define FALLOC_FL_PUNCH_HOLE 0x02 /* de-allocates range */
#endif
#ifndef FALLOC_FL_PUNCH_HOLE
#define FALLOC_FL_PUNCH_HOLE 0x02 /* de-allocates range */
-#endif
-static int fio_fallocate_queue(struct thread_data *td, struct io_u *io_u)
+#endif
+
+static enum fio_q_status fio_fallocate_queue(struct thread_data *td,
+ struct io_u *io_u)
{
struct fio_file *f = io_u->file;
int ret;
{
struct fio_file *f = io_u->file;
int ret;