Statistics
| Branch: | Revision:

root / block @ 6f06f178

Name Size
blkdebug.c 12.7 kB
blkverify.c 10 kB
bochs.c 7 kB
cloop.c 5.8 kB
cow.c 9.6 kB
curl.c 16.3 kB
dmg.c 8.7 kB
iscsi.c 18.7 kB
nbd.c 13.6 kB
parallels.c 4.8 kB
qcow.c 27.1 kB
qcow2-cache.c 8.2 kB
qcow2-cluster.c 31.6 kB
qcow2-refcount.c 38.7 kB
qcow2-snapshot.c 18.1 kB
qcow2.c 41.1 kB
qcow2.h 8.2 kB
qed-check.c 5.4 kB
qed-cluster.c 5.1 kB
qed-gencb.c 688 Bytes
qed-l2-cache.c 5.9 kB
qed-table.c 8.4 kB
qed.c 45.5 kB
qed.h 10.8 kB
raw-posix-aio.h 1.5 kB
raw-posix.c 31.7 kB
raw-win32.c 11.6 kB
raw.c 3.4 kB
rbd.c 22.5 kB
sheepdog.c 50 kB
stream.c 7.1 kB
vdi.c 30.1 kB
vmdk.c 45.8 kB
vpc.c 22.4 kB
vvfat.c 81.1 kB

Latest revisions

# Date Author Comment
bf319ece 03/12/2012 04:14 pm Kevin Wolf

qcow2: Factor out count_cow_clusters

Signed-off-by: Kevin Wolf <>
Reviewed-by: Stefan Hajnoczi <>

256900b1 03/12/2012 04:14 pm Kevin Wolf

qcow2: Add qcow2_alloc_clusters_at()

This function allows to allocate clusters at a given offset in the image
file. This is useful if you want to allocate the second part of an area
that must be contiguous.

Signed-off-by: Kevin Wolf <>
Reviewed-by: Stefan Hajnoczi <>

250196f1 03/12/2012 04:14 pm Kevin Wolf

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...

14fe292d 03/12/2012 04:14 pm Stefan Hajnoczi

qed: do not evict in-use L2 table cache entries

The L2 table cache reduces QED metadata reads that would be required
when translating LBAs to offsets into the image file. Since requests
execute in parallel it is possible to share an L2 table between multiple...

3cce16f4 03/12/2012 04:14 pm Kevin Wolf

qcow2: Add some tracing

Signed-off-by: Kevin Wolf <>
Reviewed-by: Stefan Hajnoczi <>

259b2173 03/12/2012 04:14 pm Kevin Wolf

qcow2: Add error messages in qcow2_truncate

qemu-img resize has some limitations with qcow2, but the user is only
told that "this image format does not support resize". Quite confusing,
so add some more detailed error_report() calls and change "this image...

75d12341 03/07/2012 03:03 pm Stefan Weil

block/vmdk: Fix warning from splint (comparision of unsigned value)

l1_entry_sectors will never be less than 0.

Signed-off-by: Stefan Weil <>
Signed-off-by: Stefan Hajnoczi <>

423477e5 02/29/2012 01:48 pm Kevin Wolf

qcow2: Fix build with DEBUG_EXT enabled

Signed-off-by: Kevin Wolf <>

fd29b4bb 02/29/2012 01:48 pm Kevin Wolf

qcow2: Fix offset in qcow2_read_extensions

The spec says that the length of extensions is padded to 8 bytes, not
the offset. Currently this is the same because the header size is a
multiple of 8, so this is only about compatibility with future changes
to the header size....

64ca6aee 02/29/2012 01:48 pm Kevin Wolf

qcow2: Reject too large header extensions

Image files that make qemu-img info read several gigabytes into the
unknown header extensions list are bad. Just fail opening the image
if an extension claims to be larger than the header extension area.

Signed-off-by: Kevin Wolf <>...

View revisions

Also available in: Atom