Statistics
| Branch: | Revision:

root / block @ eeb6b45d

Name Size
Makefile.objs 552 Bytes
blkdebug.c 12.9 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 28.7 kB
nbd.c 14 kB
parallels.c 4.8 kB
qcow.c 26.9 kB
qcow2-cache.c 7.8 kB
qcow2-cluster.c 35.4 kB
qcow2-refcount.c 39.7 kB
qcow2-snapshot.c 18.6 kB
qcow2.c 50.3 kB
qcow2.h 10.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.6 kB
qed.h 10.8 kB
raw-posix-aio.h 1.5 kB
raw-posix.c 37.6 kB
raw-win32.c 11.5 kB
raw.c 3.7 kB
rbd.c 24.5 kB
sheepdog.c 53.9 kB
stream.c 5.8 kB
vdi.c 24.2 kB
vmdk.c 47.5 kB
vpc.c 22.4 kB
vvfat.c 81.6 kB

Latest revisions

# Date Author Comment
3d1807ac 09/24/2012 04:15 pm Jeff Cody

block: purge s->aligned_buf and s->aligned_buf_size from raw-posix.c

The aligned_buf pointer and aligned_buf size are no longer used in
raw_posix.c, so remove all references to them.

Signed-off-by: Jeff Cody <>
Signed-off-by: Kevin Wolf <>

eeb6b45d 09/24/2012 04:15 pm Jeff Cody

block: raw-posix image file reopen

This is derived from the Supriya Kannery's reopen patches.

This contains the raw-posix driver changes for the bdrv_reopen_*
functions. All changes are staged into a temporary scratch buffer
during the prepare() stage, and copied over to the live structure...

fc32a72d 09/24/2012 04:15 pm Jeff Cody

block: move aio initialization into a helper function

Move AIO initialization for raw-posix block driver into a helper function.

In addition to just code motion, the aio_ctx pointer is checked for NULL,
prior to calling laio_init(), to make sure laio_init() is only run once....

6a8dc042 09/24/2012 04:15 pm Jeff Cody

block: move open flag parsing in raw block drivers to helper functions

Code motion, to move parsing of open flags into a helper function.

Signed-off-by: Jeff Cody <>
Signed-off-by: Kevin Wolf <>

39c9fb95 09/24/2012 04:15 pm Jeff Cody

block: do not parse BDRV_O_CACHE_WB in block drivers

Block drivers should ignore BDRV_O_CACHE_WB in .bdrv_open flags,
and in the bs->open_flags.

This patch removes the code, leaving the behaviour behind as if
BDRV_O_CACHE_WB was set.

Signed-off-by: Jeff Cody <>...

9acc5a06 09/24/2012 04:15 pm Jeff Cody

block: use BDRV_O_NOCACHE instead of s->aligned_buf in raw-posix.c

Rather than check for a non-NULL aligned_buf to determine if
raw_aio_submit needs to check for alignment, check for the presence
of BDRV_O_NOCACHE in the bs->open_flags.

Signed-off-by: Jeff Cody <>...

1f7a48de 09/12/2012 04:50 pm MORITA Kazutaka

sheepdog: fix savevm and loadvm

This patch sets data to be sent to Sheepdog correctly and fixes savevm
and loadvm operations on a Sheepdog image.

Signed-off-by: MORITA Kazutaka <>
Signed-off-by: Kevin Wolf <>

45724d6d 09/12/2012 04:50 pm Stefan Weil

block/curl: Fix wrong free statement

Report from smatch:
block/curl.c:546 curl_close(21) info: redundant null check on s->url calling free()

The check was redundant, and free was also wrong because the memory
was allocated using g_strdup.

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

514f21a5 09/12/2012 04:50 pm Stefan Weil

vdi: Fix warning from clang

ccc-analyzer reports these warnings:

block/vdi.c:704:13: warning: Dereference of null pointer
bmap[i] = VDI_UNALLOCATED;
^
block/vdi.c:702:13: warning: Dereference of null pointer
bmap[i] = i;...

cdedd9d8 08/31/2012 06:04 pm Anthony Liguori

Merge remote-tracking branch 'kwolf/for-anthony' into staging

  • kwolf/for-anthony:
    qemu-iotests: add backing file smaller than image test case
    stream: complete early if end of backing file is reached
    qed: refuse unaligned zero writes with a backing file

View revisions

Also available in: Atom