aio: get rid of busy-looping from get_events()
authorJens Axboe <jens.axboe@oracle.com>
Thu, 15 Jan 2009 12:52:17 +0000 (13:52 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Sat, 26 Sep 2009 15:36:18 +0000 (17:36 +0200)
commit5a01c4f3948f6cfa68a028bb1393715feb505b77
treeb511407aa8517b4d74fef5ec7eaf83cd27edb03e
parentc9f5cb92fa7a2d69ba2b05b58caf7aedc9cfd484
aio: get rid of busy-looping from get_events()

We should not call into the retry method async, if we want to wait
for an event to occur. Otherwise we just end up busy waiting on the
page flag.

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