engines/io_uring: make sure state is updated for requeues
authorJens Axboe <axboe@kernel.dk>
Tue, 11 Aug 2020 02:52:09 +0000 (20:52 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 11 Aug 2020 02:52:09 +0000 (20:52 -0600)
commit832faaafd3de59ebdb31043c04316ddbf0b95ad9
tree4a7ee2c415b5823ddf7f3f6a1fa83cc430a643f8
parentf0ed01ed095cf1ca7c1945a5a0267e8f73b7b4a9
engines/io_uring: make sure state is updated for requeues

Currently we always use the start of the buffer and buffer length,
but this isn't valid for a requeue. Make sure we updated both
based on the actual io_u.

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