Statistics
| Branch: | Revision:

root / block @ 2cae4119

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.8 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 35 kB
raw-win32.c 11.6 kB
raw.c 3.7 kB
rbd.c 24.7 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
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
ef72f76e 08/29/2012 04:23 pm Stefan Hajnoczi

qed: refuse unaligned zero writes with a backing file

Zero writes have cluster granularity in QED. Therefore they can only be
used to zero entire clusters.

If the zero write request leaves sectors untouched, zeroing the entire
cluster would obscure the backing file. Instead return -ENOTSUP, which...

571cd9dc 08/29/2012 04:23 pm Stefan Hajnoczi

stream: complete early if end of backing file is reached

It is possible to create an image that is larger than its backing file.
Reading beyond the end of the backing file produces zeroes if no writes
have been made to those sectors in the image file.

This patch finishes streaming early when the end of the backing file is...

135b9088 08/28/2012 03:50 pm Ronnie Sahlberg

iscsi: Set number of blocks to 0 for blank CDROM devices

The number of blocks of the device is used to compute the device size
in bdrv_getlength()/iscsi_getlength().
For MMC devices, the ReturnedLogicalBlockAddress in the READCAPACITY10
has a special meaning when it is 0....

a9b670b1 08/22/2012 09:31 pm Anthony Liguori

Merge remote-tracking branch 'bonzini/scsi-next' into staging

  • bonzini/scsi-next:
    virtio-scsi: add backwards-compatibility properties for 1.1 and earlier machines
    iscsi: fix races between task completion and abort
    iscsi: simplify iscsi_schedule_bh...
7b2f89c4 08/22/2012 09:01 pm Anthony Liguori

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

  • kwolf/for-anthony:
    virtio-blk: hide VIRTIO_BLK_F_CONFIG_WCE from old machine types
    Documentation: Warn against qemu-img on active image
    vmdk: Read footer for streamOptimized images
    vmdk: Fix header structure...
a7e47d4b 08/22/2012 06:47 pm Jim Meyering

sheepdog: don't leak socket file descriptor upon connection failure

Signed-off-by: Jim Meyering <>
Signed-off-by: Anthony Liguori <>

27cbd828 08/20/2012 04:58 pm Paolo Bonzini

iscsi: move iscsi_schedule_bh and iscsi_readv_writev_bh_cb

Put these functions at the beginning, to avoid forward references
in the next patches.

Signed-off-by: Paolo Bonzini <>

cfb3f506 08/20/2012 04:58 pm Paolo Bonzini

iscsi: simplify iscsi_schedule_bh

It is always used with the same callback, remove the argument. And
its return value is never used, assume allocation succeeds.

Signed-off-by: Paolo Bonzini <>

1bd075f2 08/20/2012 04:58 pm Paolo Bonzini

iscsi: fix races between task completion and abort

This patch fixes two main issues with block/iscsi.c:

1) iscsi_task_mgmt_abort_task_async calls iscsi_scsi_task_cancel which
was also directly called in iscsi_aio_cancel

2) a race between task completion and task abortion could happen cause...

View revisions

Also available in: Atom