io_u: don't attempt to requeue for full residual
authorJens Axboe <axboe@kernel.dk>
Mon, 11 Oct 2021 15:49:21 +0000 (09:49 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 11 Oct 2021 15:49:21 +0000 (09:49 -0600)
commitc4cb947e8f92c10835164b67deed06828cfc01be
treee373fc7f16708f8402de2c6901656f28741ad2a5
parentd4af2ecea2930138bbaf58fe84debef8e84761c6
io_u: don't attempt to requeue for full residual

If we get zero bytes transferred, then don't attempt to re-set the
io_u and requeue the IO. That's a fatal condition for this IO.

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