]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - fs/io_uring.c
io_uring: base SQPOLL handling off io_sq_data
authorJens Axboe <axboe@kernel.dk>
Mon, 14 Sep 2020 17:16:23 +0000 (11:16 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 1 Oct 2020 02:32:33 +0000 (20:32 -0600)
commit69fb21310fd36aad96370e05953f2c2366f492e4
tree1b1ceba18d06505e7fc74b19814c51d63e1d6116
parent534ca6d684f1feaf2edd90e641129725cba7e86d
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