On 07/16/2013 10:29 AM, Paolo Bonzini wrote: > Do not do two reads for each sector; load each sector of the bitmap > and use bitmap operations to process it. > > Writes are still dog slow! > > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > v1->v2: use BDRV_SECTOR_SIZE, not 512 for bitmap array length > > block/cow.c | 54 ++++++++++++++++++++++++++++++++---------------------- > 1 file changed, 32 insertions(+), 22 deletions(-) >
Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature