Josh Durgin 51a135287a rbd: check return values when scheduling aio
If scheduling fails, the number of outstanding I/Os must be correct,
or there will be a hang when waiting for everything to be flushed.

Reviewed-by: Christian Brunner <chb@muc.de>
Reported-by: Stefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2011-06-08 11:56:40 +02:00
..
2010-05-17 10:20:05 +02:00
2010-05-17 10:20:04 +02:00
2010-11-04 12:52:16 +01:00
2010-05-22 08:02:12 +00:00
2010-05-17 10:20:05 +02:00
2010-05-17 10:20:05 +02:00
2011-01-31 10:03:00 +01:00
2011-05-18 14:39:15 +02:00
2010-12-17 16:11:03 +01:00
2011-05-06 08:19:25 +01:00
2011-04-03 21:42:57 +02:00
2011-06-08 10:39:32 +02:00
2011-01-12 19:48:58 +00:00