projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6f3a2c1
)
engines/libaio: update for newer io_setup2() system call
author
Jens Axboe
<axboe@kernel.dk>
Tue, 4 Dec 2018 18:17:29 +0000
(11:17 -0700)
committer
Jens Axboe
<axboe@kernel.dk>
Tue, 4 Dec 2018 18:17:29 +0000
(11:17 -0700)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/libaio.c
patch
|
blob
|
blame
|
history
diff --git
a/engines/libaio.c
b/engines/libaio.c
index a780b2b8a42bdf1e44c18a23463c2a6c77282c96..acd10c997bcc106bfd37891e5c7209a9a467e040 100644
(file)
--- a/
engines/libaio.c
+++ b/
engines/libaio.c
@@
-454,7
+454,7
@@
static int fio_libaio_queue_init(struct libaio_data *ld, unsigned int depth,
flags |= IOCTX_FLAG_FIXEDBUFS;
ret = syscall(__NR_sys_io_setup2, depth, flags, ld->user_iocbs,
flags |= IOCTX_FLAG_FIXEDBUFS;
ret = syscall(__NR_sys_io_setup2, depth, flags, ld->user_iocbs,
- &ld->aio_ctx);
+
NULL, NULL,
&ld->aio_ctx);
if (!ret)
return 0;
/* fall through to old syscall */
if (!ret)
return 0;
/* fall through to old syscall */