commit | 1b3abdcccf18d98c3952b41be0bc1db3ef6009dd | [log] [tgz] |
---|---|---|
author | Ming Lei <ming.lei@canonical.com> | Fri Jul 04 18:04:34 2014 +0800 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Mon Jul 07 11:05:17 2014 +0200 |
tree | 207b4496a9ab8fb7d19f7860ba59b52b355efcb7 | |
parent | 448ad91db4a560c01f89bd6f7e4bec7d869926a5 [diff] |
linux-aio: implement io plug, unplug and flush io queue This patch implements .bdrv_io_plug, .bdrv_io_unplug and .bdrv_flush_io_queue callbacks for linux-aio Block Drivers, so that submitting I/O as a batch can be supported on linux-aio. [Unprocessed requests are completed with -EIO instead of a bogus ret value. --Stefan] Signed-off-by: Ming Lei <ming.lei@canonical.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>