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>
Sat, 5 Sep 2020 22:07:35 +0000 (16:07 -0600)
commit8b423e23b50508b59bd71781deabcabc335ab4d1
tree7a39ad016e316528dde2b449c12e4721f6a8ca40
parente2a36a81d25cb93b7ce07334bf814f4867d4af25
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