Skip to content
Snippets Groups Projects
Commit 1b3abdcc authored by Ming Lei's avatar Ming Lei Committed by Stefan Hajnoczi
Browse files

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: default avatarMing Lei <ming.lei@canonical.com>
Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
parent 448ad91d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment