]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit88e4298c825ee4315e07246da91b36c05be8159c
tree94d5720f5f001f050904c9fce0e0df4231dfa798
parentcf6c463786aa803c364811e73556df1bcdbddadc
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