unsigned int sqpoll_set;
unsigned int sqpoll_cpu;
unsigned int uncached;
+ unsigned int noaccess;
};
static int fio_ioring_sqpoll_cb(void *data, unsigned long long *val)
.category = FIO_OPT_C_ENGINE,
.group = FIO_OPT_G_IOURING,
},
+ {
+ .name = "noaccess",
+ .lname = "No access",
+ .type = FIO_OPT_INT,
+ .off1 = offsetof(struct ioring_options, noaccess),
+ .help = "Use RWF_NOACCESS for buffered reads",
+ .category = FIO_OPT_C_ENGINE,
+ .group = FIO_OPT_G_IOURING,
+ },
{
.name = NULL,
},
}
if (!td->o.odirect && o->uncached)
sqe->rw_flags = RWF_UNCACHED;
+ if (!td->o.odirect && o->noaccess)
+ sqe->rw_flags = 0x80;
sqe->off = io_u->offset;
} else if (ddir_sync(io_u->ddir)) {
if (io_u->ddir == DDIR_SYNC_FILE_RANGE) {
unsigned int hipri;
unsigned int hipri_percentage;
unsigned int uncached;
+ unsigned int noaccess;
};
static struct fio_option options[] = {
.category = FIO_OPT_C_ENGINE,
.group = FIO_OPT_G_INVALID,
},
+ {
+ .name = "noaccess",
+ .lname = "noaccess",
+ .type = FIO_OPT_INT,
+ .off1 = offsetof(struct psyncv2_options, noaccess),
+ .help = "Use RWF_NOACCESS for buffered reads",
+ .category = FIO_OPT_C_ENGINE,
+ .group = FIO_OPT_G_INVALID,
+ },
{
.name = NULL,
},
flags |= RWF_HIPRI;
if (!td->o.odirect && o->uncached)
flags |= RWF_UNCACHED;
+ if (!td->o.odirect && o->noaccess)
+ flags |= 0x80;
iov->iov_base = io_u->xfer_buf;
iov->iov_len = io_u->xfer_buflen;