io_uring: extract a helper for ctx quiesce
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 9 Aug 2021 12:04:12 +0000 (13:04 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 10 Aug 2021 23:51:40 +0000 (17:51 -0600)
commitbbf18d476963e1526da9b87720a6dc6f64e5f73f
tree4c0932209906a598aacb1017c0d24d51958ef494
parentce67fd47eb7572036679238dab12d2910f114069
io_uring: extract a helper for ctx quiesce

Refactor __io_uring_register() by extracting a helper responsible for
ctx queisce. Looks better and will make it easier to add more
optimisations.

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