Move ->commit() call to td_io_getevents()
authorJens Axboe <jens.axboe@oracle.com>
Mon, 26 Feb 2007 09:40:03 +0000 (10:40 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 26 Feb 2007 09:40:03 +0000 (10:40 +0100)
commitface81b280ab94ba5d975739578779157c8b54ce
tree77c8eb1556d9faf494fb0bc2022db92cf3a7fddd
parent7756b0d046ef74c32df134c8b716237cc5e16bad
Move ->commit() call to td_io_getevents()

If we need to complete some events (min > 0), make sure we
have committed a pending batch.

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