vdi: move end-of-I/O handling at the end
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 19 Mar 2012 17:07:46 +0000 (18:07 +0100)
committerKevin Wolf <kwolf@redhat.com>
Thu, 5 Apr 2012 12:54:40 +0000 (14:54 +0200)
commit0c7bfc321b4d19c91a59f1ff7b31418e67b8681a
treebff27c944398397371c29c4615ddbc2ab40cdba2
parent3d46a75aa5031788cb283ab4429acca23cf1cf92
vdi: move end-of-I/O handling at the end

The next step is to take code that only triggers after the first operation,
and move it at the end of vdi_aio_read_cb and vdi_aio_write_cb.

Acked-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/vdi.c