projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cmdprio: do not allocate memory for unused data direction
[fio.git]
/
engines
/
filecreate.c
diff --git
a/engines/filecreate.c
b/engines/filecreate.c
index fb3f389791d9c61a4f14ce4b68953b608ee20648..4bb13c348c1a4113a1425dbf620dc5d74a8264be 100644
(file)
--- a/
engines/filecreate.c
+++ b/
engines/filecreate.c
@@
-22,7
+22,7
@@
static int open_file(struct thread_data *td, struct fio_file *f)
dprint(FD_FILE, "fd open %s\n", f->file_name);
if (f->filetype != FIO_TYPE_FILE) {
dprint(FD_FILE, "fd open %s\n", f->file_name);
if (f->filetype != FIO_TYPE_FILE) {
- log_err("fio: only files are supported
fallocate
\n");
+ log_err("fio: only files are supported\n");
return 1;
}
if (!strcmp(f->file_name, "-")) {
return 1;
}
if (!strcmp(f->file_name, "-")) {
@@
-49,14
+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, false
);
}
return 0;
}
}
return 0;
}
-static enum fio_q_status
-
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;
}