]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: add general async offload context
authorJens Axboe <axboe@kernel.dk>
Mon, 2 Dec 2019 17:33:15 +0000 (10:33 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 3 Dec 2019 01:49:33 +0000 (18:49 -0700)
commite3ec45232224e458aff9ac28236d27cc4afe5801
tree899c0e4efee1b3720e1e8a7089675904eba1e0d5
parent33e9cf768617ccae523f30ef2d98e4e408753d34
io_uring: add general async offload context

Right now we just copy the sqe for async offload, but we want to store
more context across an async punt. In preparation for doing so, put the
sqe copy inside a structure that we can expand. With this pointer added,
we can get rid of REQ_F_FREE_SQE, as that is now indicated by whether
req->io is NULL or not.

No functional changes in this patch.

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