libaio: use INT_MAX to signal that we don't want the ring buffer
authorJens Axboe <axboe@kernel.dk>
Thu, 6 Sep 2012 15:07:44 +0000 (09:07 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 6 Sep 2012 15:07:44 +0000 (09:07 -0600)
commitc224ec052b3a5be4fba8da777dd7ccbee2fb34c1
treec77689c83f437cd69e79dc32573fd79a78d3e9de
parentc90e1017b9384b170d47b97d2353f7bff3b5a34d
libaio: use INT_MAX to signal that we don't want the ring buffer

We can't use 0 since the libaio library _also_ checks the
nr_events being passed in. So lets use INT_MAX instead.

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