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 19:52:06 +0000 (13:52 -0600)
commitd6b6ce6dfa70de26a1a2684dcef3477d3c79825d
tree26d3c74b681b72ec6b59308575fb594c178a16f4
parentd593cae47d9c0cd0a940bea9ac36354a7d783f5d
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