io_uring: base SQPOLL handling off io_sq_data
authorJens Axboe <axboe@kernel.dk>
Wed, 2 Sep 2020 20:10:57 +0000 (14:10 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 5 Sep 2020 22:07:35 +0000 (16:07 -0600)
commit01c88257dc2a93106b31c2bfc6cec5e7840c87b8
tree11918858c69a6e1ac172ffbd69fcc259e9f437f5
parent8b423e23b50508b59bd71781deabcabc335ab4d1
io_uring: base SQPOLL handling off io_sq_data

Remove the SQPOLL thread from the ctx, and use the io_sq_data as the
data structure we pass in. io_sq_data has a list of ctx's that we can
then iterate over and handle.

As of now we're ready to handle multiple ctx's, though we're still just
handling a single one after this patch.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c