io_uring: notice short IO on completion path
authorJens Axboe <axboe@kernel.dk>
Tue, 11 Aug 2020 02:54:46 +0000 (20:54 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 11 Aug 2020 02:54:46 +0000 (20:54 -0600)
commit7d33649cc0b6a887cb2e89e5ef2632e21529f4ec
treeb208de1afb5e77ab62455e6e824b2791c13cccaf
parentbba6b14f3588fd21e6181c0c9194d8f95533aff6
io_uring: notice short IO on completion path

Async IO engines need to signal residual from the completion path,
but we completely ignore those. Ensure we properly requeue IO that
was short, after adjusting the state.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_u.c