vpc: Read/write multiple sectors at once
authorKevin Wolf <kwolf@redhat.com>
Fri, 4 Jun 2010 07:49:04 +0000 (09:49 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 15 Jun 2010 07:41:58 +0000 (09:41 +0200)
commit6c6ea921ff9eebec514635aa7af893adf893fb12
treef3d6949feec63dcd42e78765ae334bb9e071efdc
parentfd42deeb4cb42f90084046e3ebdb4383953195e3
vpc: Read/write multiple sectors at once

This changes the vpc block driver (for VHD) to read/write multiple sectors at
once instead of doing a request for each single sector.

Before this, running qemu-iotests for VPC took ages, now it's actually quite
reasonable to run it always (down from ~1 hour to 40 seconds for me).

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/vpc.c