On Tue, Apr 28, 2015 at 10:46:39AM +0300, Denis V. Lunev wrote: > Main approach is taken from qcow2_co_readv. > > The patch drops coroutine lock for the duration of IO operation and > peforms normal scatter-gather IO using standard QEMU backend. > > The patch also adds comment about locking considerations in the driver. > > Signed-off-by: Denis V. Lunev <d...@openvz.org> > CC: Roman Kagan <rka...@parallels.com> > CC: Kevin Wolf <kw...@redhat.com> > CC: Stefan Hajnoczi <stefa...@redhat.com> > --- > block/parallels.c | 54 +++++++++++++++++++++++++++++++++--------------------- > 1 file changed, 33 insertions(+), 21 deletions(-)
Reviewed-by: Roman Kagan <rka...@parallels.com>