commit | ce35a47a3a0208a77b4d31b7f2e8ed57d624093d | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Tue Dec 17 08:04:44 2019 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Jan 20 17:03:59 2020 -0700 |
tree | 903370888177b20dcbeab7e48a0452f696b858c8 | |
parent | 895e2ca0f693c672902191747b548bdc56f0c7de [diff] |
io_uring: add IOSQE_ASYNC io_uring defaults to always doing inline submissions, if at all possible. But for larger copies, even if the data is fully cached, that can take a long time. Add an IOSQE_ASYNC flag that the application can set on the SQE - if set, it'll ensure that we always go async for those kinds of requests. Use the io-wq IO_WQ_WORK_CONCURRENT flag to ensure we get the concurrency we desire for this case. Signed-off-by: Jens Axboe <axboe@kernel.dk>