Fix busy looping for io_u_queued_complete()
authorJens Axboe <jens.axboe@oracle.com>
Mon, 19 Feb 2007 15:00:42 +0000 (16:00 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 19 Feb 2007 15:00:42 +0000 (16:00 +0100)
commitafab5e46cf0a984a87426329b3157e38d9a419a4
tree319d06b700a9fda3c63a51e76465a38a9e7f2d37
parentd2d7fa53c18f1fc3fb89f3fe20df9b39986bde72
Fix busy looping for io_u_queued_complete()

If min_events > 0, don't set a 0 timeout or we'll end up
busy looping in the io engine getevents handler.

Just disable the timeout for now, perhaps we'll reuse it
in the future to prevent a thread from stalling too long
there.

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