projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
engines/io_uring: ensure to use the right opcode for fixed buffers
[fio.git]
/
options.c
diff --git
a/options.c
b/options.c
index 9b277309d26ac9eb83bbc23195c4dd95460ba418..6d832354e95d856e89f2c41d6d5691cbd4d8d49c 100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-482,7
+482,7
@@
static int str_rwmix_write_cb(void *data, unsigned long long *val)
static int str_exitall_cb(void)
{
static int str_exitall_cb(void)
{
- exitall_on_terminate =
1
;
+ exitall_on_terminate =
true
;
return 0;
}
return 0;
}
@@
-1773,6
+1773,11
@@
struct fio_option fio_options[FIO_MAX_OPTS] = {
.help = "Linux native asynchronous IO",
},
#endif
.help = "Linux native asynchronous IO",
},
#endif
+#ifdef ARCH_HAVE_IOURING
+ { .ival = "io_uring",
+ .help = "Fast Linux native aio",
+ },
+#endif
#ifdef CONFIG_POSIXAIO
{ .ival = "posixaio",
.help = "POSIX asynchronous IO",
#ifdef CONFIG_POSIXAIO
{ .ival = "posixaio",
.help = "POSIX asynchronous IO",
@@
-2202,14
+2207,6
@@
struct fio_option fio_options[FIO_MAX_OPTS] = {
.category = FIO_OPT_C_IO,
.group = FIO_OPT_G_RANDOM,
},
.category = FIO_OPT_C_IO,
.group = FIO_OPT_G_RANDOM,
},
- {
- .name = "use_os_rand",
- .lname = "Use OS random",
- .type = FIO_OPT_DEPRECATED,
- .off1 = offsetof(struct thread_options, dep_use_os_rand),
- .category = FIO_OPT_C_IO,
- .group = FIO_OPT_G_RANDOM,
- },
{
.name = "norandommap",
.lname = "No randommap",
{
.name = "norandommap",
.lname = "No randommap",
@@
-4538,7
+4535,7
@@
struct fio_option fio_options[FIO_MAX_OPTS] = {
{
.name = "kb_base",
.lname = "KB Base",
{
.name = "kb_base",
.lname = "KB Base",
- .type = FIO_OPT_
INT
,
+ .type = FIO_OPT_
STR
,
.off1 = offsetof(struct thread_options, kb_base),
.prio = 1,
.def = "1024",
.off1 = offsetof(struct thread_options, kb_base),
.prio = 1,
.def = "1024",
@@
-4559,7
+4556,7
@@
struct fio_option fio_options[FIO_MAX_OPTS] = {
{
.name = "unit_base",
.lname = "Unit for quantities of data (Bits or Bytes)",
{
.name = "unit_base",
.lname = "Unit for quantities of data (Bits or Bytes)",
- .type = FIO_OPT_
INT
,
+ .type = FIO_OPT_
STR
,
.off1 = offsetof(struct thread_options, unit_base),
.prio = 1,
.posval = {
.off1 = offsetof(struct thread_options, unit_base),
.prio = 1,
.posval = {