Home | History | Annotate | Download | only in engines

Lines Matching refs:io_u

73 static int fio_fallocate_queue(struct thread_data *td, struct io_u *io_u)
75 struct fio_file *f = io_u->file;
79 fio_ro_check(td, io_u);
81 if (io_u->ddir == DDIR_READ)
83 else if (io_u->ddir == DDIR_WRITE)
85 else if (io_u->ddir == DDIR_TRIM)
88 ret = fallocate(f->fd, flags, io_u->offset, io_u->xfer_buflen);
91 io_u->error = errno;