io_uring: split SQPOLL data into separate structure
authorJens Axboe <axboe@kernel.dk>
Wed, 2 Sep 2020 19:52:19 +0000 (13:52 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 1 Oct 2020 02:32:33 +0000 (20:32 -0600)
commit534ca6d684f1feaf2edd90e641129725cba7e86d
tree7d781b41a309a48d0ce13276d1ae3456a131cd14
parentc8d1ba583fe67c6b5e054d89f1433498a924286f
io_uring: split SQPOLL data into separate structure

Move all the necessary state out of io_ring_ctx, and into a new
structure, io_sq_data. The latter now deals with any state or
variables associated with the SQPOLL thread itself.

In preparation for supporting more than one io_ring_ctx per SQPOLL
thread.

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