[PATCH] Support residual io counts from io engines
authorJens Axboe <jens.axboe@oracle.com>
Tue, 6 Feb 2007 19:15:38 +0000 (20:15 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 6 Feb 2007 19:15:38 +0000 (20:15 +0100)
We need this for requeuing support, the network engine makes this
pretty apparent (it's not unusual to see short tranfers there).

Basically we add an xfer_buf and xfer_buflen member to the io_u,
and these are the fields that the io engine MUST use. That allows
fio to increment and reset these appropriately, and simply requeue
the io_u for service of the next part of it.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

No differences found