projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c3773c1
)
t/io_uring: change map buffers registration opcode
author
Jens Axboe
<axboe@kernel.dk>
Mon, 7 Mar 2022 15:59:22 +0000
(08:59 -0700)
committer
Jens Axboe
<axboe@kernel.dk>
Mon, 7 Mar 2022 15:59:22 +0000
(08:59 -0700)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
t/io_uring.c
patch
|
blob
|
blame
|
history
diff --git
a/t/io_uring.c
b/t/io_uring.c
index b8fcffe88cdb151cb2cec9dd8e40a45da7b55097..8cf338584c9a823ba60ca24012fcf49d980e2442 100644
(file)
--- a/
t/io_uring.c
+++ b/
t/io_uring.c
@@
-139,7
+139,7
@@
static float plist[] = { 1.0, 5.0, 10.0, 20.0, 30.0, 40.0, 50.0, 60.0, 70.0,
static int plist_len = 17;
#ifndef IORING_REGISTER_MAP_BUFFERS
static int plist_len = 17;
#ifndef IORING_REGISTER_MAP_BUFFERS
-#define IORING_REGISTER_MAP_BUFFERS 2
0
+#define IORING_REGISTER_MAP_BUFFERS 2
2
struct io_uring_map_buffers {
__s32 fd;
__u32 buf_start;
struct io_uring_map_buffers {
__s32 fd;
__u32 buf_start;