Statistics
| Branch: | Revision:

root / block @ 593fb83c

Name Size
Makefile.objs 751 Bytes
blkdebug.c 15.7 kB
blkverify.c 10 kB
bochs.c 7 kB
cloop.c 5.8 kB
commit.c 7.2 kB
cow.c 9.5 kB
curl.c 16.2 kB
dmg.c 8.7 kB
gluster.c 17 kB
iscsi.c 26.1 kB
linux-aio.c 5.5 kB
mirror.c 10 kB
nbd.c 16.3 kB
parallels.c 4.8 kB
qcow.c 27.2 kB
qcow2-cache.c 7.8 kB
qcow2-cluster.c 36 kB
qcow2-refcount.c 39.8 kB
qcow2-snapshot.c 18.6 kB
qcow2.c 50.6 kB
qcow2.h 11.3 kB
qed-check.c 6.5 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.9 kB
qed.h 10.8 kB
raw-aio.h 1.5 kB
raw-posix.c 45.5 kB
raw-win32.c 15.6 kB
raw.c 3.9 kB
rbd.c 24.6 kB
sheepdog.c 54.4 kB
stream.c 6.7 kB
vdi.c 24.3 kB
vmdk.c 48.6 kB
vpc.c 23 kB
vvfat.c 81.6 kB
win32-aio.c 6.1 kB

Latest revisions

# Date Author Comment
1d3afd64 12/13/2012 04:37 pm Kevin Wolf

qcow2: Round QCowL2Meta.offset down to cluster boundary

The offset within the cluster is already present as n_start and this is
what the code uses. QCowL2Meta.offset is only needed at a cluster
granularity.

Signed-off-by: Kevin Wolf <>

593fb83c 12/13/2012 04:37 pm Kevin Wolf

qcow2: Introduce Qcow2COWRegion

This makes it easier to address the areas for which a COW must be
performed. As a nice side effect, the COW code in
qcow2_alloc_cluster_link_l2 becomes really trivial.

Signed-off-by: Kevin Wolf <>

312a2ba0 12/12/2012 01:33 pm Kevin Wolf

blkdebug: Allow usage without config file

As soon as new rules can be set during runtime, as introduced by the
next patch, blkdebug makes sense even without a config file.

Signed-off-by: Kevin Wolf <>

9e35542b 12/12/2012 01:33 pm Kevin Wolf

blkdebug: Factor out remove_rule()

The cleanup work to remove a rule depends on the type of the rule. It's
easy for the existing rules as there is no data that must be cleaned up
and is specific to a type yet, but the next patch will change this.

Signed-off-by: Kevin Wolf <>

3c90c65d 12/12/2012 01:33 pm Kevin Wolf

blkdebug: Implement suspend/resume of AIO requests

This allows more systematic AIO testing. The patch adds three new
operations to blkdebug:

  • Setting a "breakpoint" on a blkdebug event. The next request that
    triggers this breakpoint is suspended and is tagged with a name....
67a7a0eb 12/12/2012 01:33 pm Kevin Wolf

qcow2: Move BLKDBG_EVENT out of the lock

We want to use these events to suspend requests for testing concurrent
AIO requests. Suspending requests while they are holding the CoMutex is
rather boring for this purpose.

Signed-off-by: Kevin Wolf <>

fbcad04d 12/11/2012 12:36 pm Fabien Chouteau

Fix error code checking for SetFilePointer() call

An error has occurred if the return value is invalid_set_file_pointer
and getlasterror doesn't return no_error.

Signed-off-by: Fabien Chouteau <>
Acked-by: Stefan Hajnoczi <>

473c7f02 12/11/2012 12:05 pm Stefan Priebe

rbd: Fix race between aio completition and aio cancel

This one fixes a race which qemu had also in iscsi block driver
between cancellation and io completition.

qemu_rbd_aio_cancel was not synchronously waiting for the end of
the command.

To archieve this it introduces a new status flag which uses...

258d2edb 12/11/2012 12:04 pm Charles Arnold

block: vpc support for ~2 TB disks

The VHD specification allows for up to a 2 TB disk size. The current
implementation in qemu emulates EIDE and ATA-2 hardware which only allows
for up to 127 GB. This disk size limitation can be overridden by allowing
up to 255 heads instead of the normal 4 bit limitation of 16. Doing so...

c208e8c2 12/11/2012 12:04 pm Paolo Bonzini

raw-posix: inline paio_ioctl into hdev_aio_ioctl

clang now warns about an unused function:
CC block/raw-posix.o
block/raw-posix.c:707:26: warning: unused function paio_ioctl
[-Wunused-function]
static BlockDriverAIOCB *paio_ioctl(BlockDriverState *bs, int fd,...

View revisions

Also available in: Atom