diff options
author | 2020-05-19 21:20:27 -0600 | |
---|---|---|
committer | 2020-05-19 21:20:27 -0600 | |
commit | b532576ed39efe3b351ae8320b2ab67a4c4c3719 (patch) | |
tree | 52a03cd85fefa3df584a26813bc5a63fdaf39fc8 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | io_uring: don't use kiocb.private to store buf_index (diff) | |
download | linux-dev-b532576ed39efe3b351ae8320b2ab67a4c4c3719.tar.xz linux-dev-b532576ed39efe3b351ae8320b2ab67a4c4c3719.zip |
io_uring: don't add non-IO requests to iopoll pending list
We normally disable any commands that aren't specifically poll commands
for a ring that is setup for polling, but we do allow buffer provide and
remove commands to support buffer selection for polled IO. Once a
request is issued, we add it to the poll list to poll for completion. But
we should not do that for non-IO commands, as those request complete
inline immediately and aren't pollable. If we do, we can leave requests
on the iopoll list after they are freed.
Fixes: ddf0322db79c ("io_uring: add IORING_OP_PROVIDE_BUFFERS")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions