io_uring: wait heads renaming
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 14 Jun 2021 22:37:28 +0000 (23:37 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 15 Jun 2021 21:38:40 +0000 (15:38 -0600)
commit311997b3fcddc2f169fff844bf6b48dbff0bb816
tree94d5720f5f001f050904c9fce0e0df4231dfa798
parent5ed7a37d21b369d03114dea12a1f16ae2e21baa8
io_uring: wait heads renaming

We use several wait_queue_head's for different purposes, but namings are
confusing. First rename ctx->cq_wait into ctx->poll_wait, because this
one is used for polling an io_uring instance. Then rename ctx->wait into
ctx->cq_wait, which is responsible for CQE waiting.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/47b97a097780c86c67b20b6ccc4e077523dce682.1623709150.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c