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, 9 Aug 2021 15:08:22 +0000 (09:08 -0600)
commita28074e1f206853c0ef2dd0422b0b5f550191cae
treea338a089ed1dca6d2b938726cb05fa507179bb2d
parent59d942afd228592cefec73b05b78e15f21dd2c0d
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