qemu/block
Kevin Wolf 250196f19c qcow2: Reduce number of I/O requests
If the first part of a write request is allocated, but the second isn't
and it can be allocated so that the resulting area is contiguous, handle
it at once. This is a common case for sequential writes.

After this patch, alloc_cluster_offset() only checks if the clusters are
already allocated or how many new clusters can be allocated contigouosly.
The actual cluster allocation is split off into a new function
do_alloc_cluster_offset().

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
2012-03-12 15:14:07 +01:00
..
blkdebug.c
blkverify.c
bochs.c
cloop.c
cow.c
curl.c
dmg.c
iscsi.c
nbd.c
parallels.c
qcow.c
qcow2-cache.c qcow2: Add some tracing 2012-03-12 15:14:06 +01:00
qcow2-cluster.c qcow2: Reduce number of I/O requests 2012-03-12 15:14:07 +01:00
qcow2-refcount.c qcow2: Add qcow2_alloc_clusters_at() 2012-03-12 15:14:07 +01:00
qcow2-snapshot.c
qcow2.c qcow2: Add error messages in qcow2_truncate 2012-03-12 15:14:06 +01:00
qcow2.h qcow2: Reduce number of I/O requests 2012-03-12 15:14:07 +01:00
qed-check.c
qed-cluster.c
qed-gencb.c
qed-l2-cache.c qed: do not evict in-use L2 table cache entries 2012-03-12 15:14:06 +01:00
qed-table.c
qed.c
qed.h
raw-posix-aio.h
raw-posix.c block: bdrv_eject(): Make eject_flag a real bool 2012-02-22 17:23:05 -02:00
raw-win32.c
raw.c block: bdrv_eject(): Make eject_flag a real bool 2012-02-22 17:23:05 -02:00
rbd.c
sheepdog.c
stream.c
vdi.c
vmdk.c block/vmdk: Fix warning from splint (comparision of unsigned value) 2012-03-07 13:03:51 +00:00
vpc.c
vvfat.c