diff options
author | Jeff Moyer <jmoyer@redhat.com> | 2019-02-08 14:54:02 -0500 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-02-08 12:56:35 -0700 |
commit | 996b5a65a58cfd3334fcc6c268911126ced35d61 (patch) | |
tree | 641894f8f901dd72c549131a75b2ba609953c4df /test | |
parent | bd7ad347f9dbe8ca9474404d06913417fea549f1 (diff) |
add io_uring_queue_mmap
io_uring_queue_init does not allow the caller to specify sq_thread_cpu
or sq_thread_idle. Users that want to specify those parameters need to
call io_uring_setup(2) themselves. Add a helper so that they don't also
have to hand-craft the code to map the submission and completion queues,
and setup the sqe ring. This allows those applications to still make
use of io_uring_submit and get/wait_completion.
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions