On 30.07.19 16:18, Vladimir Sementsov-Ogievskiy wrote: > Similarly to previous commit, prepare for parallelizing write-loop > iterations. > > Signed-off-by: Vladimir Sementsov-Ogievskiy <vsement...@virtuozzo.com> > --- > block/qcow2.c | 150 +++++++++++++++++++++++++++++--------------------- > 1 file changed, 88 insertions(+), 62 deletions(-) > > diff --git a/block/qcow2.c b/block/qcow2.c > index 7fa71968b2..37766b8b7c 100644 > --- a/block/qcow2.c > +++ b/block/qcow2.c
[...] > + * l2meta - if not NULL, qcow2_co_do_pwritev() will consume it. Caller must > not > + * use it somehow after qcow2_co_pwritev_task() call [...] > + l2meta = NULL; /* l2meta is consumed by qcow2_co_do_pwritev() */ By the way, qcow2_co_do_pwritev() does not exist. :-) Max
signature.asc
Description: OpenPGP digital signature