aboutsummaryrefslogtreecommitdiff
path: root/fs/io-wq.h
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-09-24 21:59:48 +0100
committerJens Axboe <axboe@kernel.dk>2021-10-19 05:49:53 -0600
commite3f721e6f6d5d916edf71e5f26ac0547a4b28e1e (patch)
treedca8b9a623be83718536a362a765ade09b013f6d /fs/io-wq.h
parentc2b6c6bc4e0d3452ac4e208c198f6062e0f1d9df (diff)
io_uring: split iopoll loop
The main loop of io_do_iopoll() iterates and does ->iopoll() until it meets a first completed request, then it continues from that position and splices requests to pass them through io_iopoll_complete(). Split the loop in two for clearness, iopolling and reaping completed requests from the list. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/a7f6fd27a94845e5dc925a47a4a9765a92e514fb.1632516769.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io-wq.h')
0 files changed, 0 insertions, 0 deletions