diff options
author | 2023-01-09 14:46:08 +0000 | |
---|---|---|
committer | 2023-01-29 15:17:40 -0700 | |
commit | 7b235dd82ad32c1626e51303d94ec5ef4d7bc994 (patch) | |
tree | 7d3cbc691bd6edce85f2b35ecafa7107fe871b79 /include/linux/io_uring_types.h | |
parent | io_uring: move io_run_local_work_locked (diff) | |
download | linux-7b235dd82ad32c1626e51303d94ec5ef4d7bc994.tar.gz linux-7b235dd82ad32c1626e51303d94ec5ef4d7bc994.tar.bz2 linux-7b235dd82ad32c1626e51303d94ec5ef4d7bc994.zip |
io_uring: separate wq for ring polling
Don't use ->cq_wait for ring polling but add a separate wait queue for
it. We need it for following patches.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/dea0be0bf990503443c5c6c337fc66824af7d590.1673274244.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/io_uring_types.h')
-rw-r--r-- | include/linux/io_uring_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/io_uring_types.h b/include/linux/io_uring_types.h index 8dfb6c4a35d9..0d94ee191c15 100644 --- a/include/linux/io_uring_types.h +++ b/include/linux/io_uring_types.h @@ -319,7 +319,7 @@ struct io_ring_ctx { } ____cacheline_aligned_in_smp; /* Keep this last, we don't need it for the fast path */ - + struct wait_queue_head poll_wq; struct io_restriction restrictions; /* slow path rsrc auxilary data, used by update/register */ |