commit | 51a135287ae6be62d54d7ac2a99e647cbab1a828 | [log] [tgz] |
---|---|---|
author | Josh Durgin <josh.durgin@dreamhost.com> | Thu May 26 16:07:33 2011 -0700 |
committer | Kevin Wolf <kwolf@redhat.com> | Wed Jun 08 11:56:40 2011 +0200 |
tree | ccebd9f2b52967ccaf22e27a019312adac7178a9 | |
parent | fab5cf592c36a00124018604abc24f4000e07690 [diff] |
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>