]> 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)
commit9d64c61e6353fa9d17e9a3039dd3ad4293993d9e
tree899c0e4efee1b3720e1e8a7089675904eba1e0d5
parent8e7954123c29b9af5d71c17966671ecdf977c20e
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