posixaio: restart suspend list after we have used aio_suspend()
authorJens Axboe <axboe@kernel.dk>
Fri, 22 Mar 2013 21:23:20 +0000 (15:23 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 22 Mar 2013 21:23:20 +0000 (15:23 -0600)
commitf832642400a7d0f19f21b744d1b1c7dad452408a
treee9db56538a4ff882145c129944ccd9269d1e2220
parent8f801ad5796d850b8ccf15def6b793c3bd2e352d
posixaio: restart suspend list after we have used aio_suspend()

Otherwise we could both end up putting entries in there twice,
if there are still in flight, or having done entries in there too.
So restart the suspend list after aio_suspend(), so we only put
truly still-pending ios in there.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/posixaio.c