Statistics
| Branch: | Revision:

root / block @ 37952117

Name Size
Makefile.objs 552 Bytes
blkdebug.c 12.5 kB
blkverify.c 10 kB
bochs.c 7 kB
cloop.c 5.8 kB
cow.c 9.5 kB
curl.c 16.2 kB
dmg.c 8.7 kB
iscsi.c 25 kB
nbd.c 13.9 kB
parallels.c 4.8 kB
qcow.c 26.9 kB
qcow2-cache.c 7.8 kB
qcow2-cluster.c 35.3 kB
qcow2-refcount.c 39.7 kB
qcow2-snapshot.c 18.6 kB
qcow2.c 47.2 kB
qcow2.h 9.6 kB
qed-check.c 5.9 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 34.8 kB
raw-win32.c 11.6 kB
raw.c 3.6 kB
rbd.c 24.7 kB
sheepdog.c 53.7 kB
stream.c 5.7 kB
vdi.c 24.2 kB
vmdk.c 45.7 kB
vpc.c 22.4 kB
vvfat.c 81.3 kB

Latest revisions

# Date Author Comment
94282e71 06/24/2012 02:04 am Kevin Wolf

raw-posix: Fix build without is_allocated support

Move the declaration of s into the #ifdef sections that actually make
use of it.

Signed-off-by: Kevin Wolf <>
Signed-off-by: Alexander Graf <>

6af4e9ea 06/15/2012 03:03 pm Paolo Bonzini

qcow2: always operate caches in writeback mode

Writethrough does not need special-casing anymore in the qcow2 caches.
The block layer adds flushes after every guest-initiated data write,
and these will also flush the qcow2 caches to the OS.

Signed-off-by: Paolo Bonzini <>...

cdba7fee 06/15/2012 03:03 pm Kevin Wolf

qcow2: Simplify calculation for COW area at the end

copy_sectors() always uses the sum (cluster_offset + n_start) or
(start_sect + n_start), so if some value is added to both cluster_offset
and start_sect, and subtracted from n_start, it's cancelled out anyway....

b7ab0fea 06/15/2012 03:03 pm Kevin Wolf

qcow2: Fix avail_sectors in cluster allocation code

avail_sectors should really be the number of sectors from the start of
the allocation, not from the start of the write request.

We're lucky enough that this mistake didn't cause any real bug.
avail_sectors is only used in the intialiser of QCowL2Meta:...

af7b708d 06/15/2012 03:03 pm Stefan Hajnoczi

qcow2: fix autoclear image header update

The autoclear feature bits can be used for qcow2 file format features
that are safe to "drop" by old programs that do not understand the
feature. Upon opening the image file unknown autoclear feature bits are
cleared and the image file header is rewritten, but this was happening...

4534ff54 06/15/2012 03:03 pm Kevin Wolf

qemu-img check -r for repairing images

The QED block driver already provides the functionality to not only
detect inconsistencies in images, but also fix them. However, this
functionality cannot be manually invoked with qemu-img, but the
check happens only automatically during bdrv_open()....

ccf34716 06/15/2012 03:03 pm Kevin Wolf

qemu-img check: Print fixed clusters and recheck

When any inconsistencies have been fixed, print the statistics and run
another check to make sure everything is correct now.

Signed-off-by: Kevin Wolf <>

166acf54 06/15/2012 03:03 pm Kevin Wolf

qcow2: Support for fixing refcount inconsistencies

Signed-off-by: Kevin Wolf <>

b11f38fc 06/15/2012 03:03 pm Josh Durgin

rbd: hook up cache options

Writeback caching was added in Ceph 0.46, and writethrough will be in
0.47. These are controlled by general config options, so there's no
need to check for librbd version.

Signed-off-by: Josh Durgin <>
Signed-off-by: Kevin Wolf <>

e0d93a89 06/15/2012 03:03 pm MORITA Kazutaka

sheepdog: add coroutine_fn markers to coroutine functions

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

View revisions

Also available in: Atom