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>
Mon, 23 Aug 2021 19:07:59 +0000 (13:07 -0600)
commite73c5c7cd3e21bb95032a9ed3593c000f17f9ab8
treedde832e9a88349314f92a3fe11079856c65bc176
parent90291099f24a82863e00de136d95ad7e73560107
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