Do proper wait for pending IO on clean exit
authorJens Axboe <jens.axboe@oracle.com>
Mon, 26 Feb 2007 11:43:42 +0000 (12:43 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 26 Feb 2007 11:43:42 +0000 (12:43 +0100)
commitc01c03958c2e1d3c231da93f2de8bf7b9b19d143
tree38dd857dc9aba198a606f947855cdd29ff79d55d
parentc0a6b0d8fcf07512fad42ba16613da83ceec4475
Do proper wait for pending IO on clean exit

Only do the cancel if something went wrong and td->error is set,
otherwise be a good citizen and complete and account for the io
we submitted.

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