Statistics
| Branch: | Revision:

root / block @ 509d39aa

Name Size
Makefile.objs 954 Bytes
backup.c 11.9 kB
blkdebug.c 18.5 kB
blkverify.c 12 kB
bochs.c 7.1 kB
cloop.c 5.9 kB
commit.c 7.3 kB
cow.c 12.1 kB
curl.c 18.5 kB
dmg.c 10.4 kB
gluster.c 19.1 kB
iscsi.c 44.7 kB
linux-aio.c 5.2 kB
mirror.c 19.1 kB
nbd.c 18.8 kB
parallels.c 4.9 kB
qapi.c 20.3 kB
qcow.c 28.4 kB
qcow2-cache.c 8.6 kB
qcow2-cluster.c 54.1 kB
qcow2-refcount.c 58.7 kB
qcow2-snapshot.c 20.8 kB
qcow2.c 70.2 kB
qcow2.h 16.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 46.9 kB
qed.h 10.8 kB
raw-aio.h 1.6 kB
raw-posix.c 51.9 kB
raw-win32.c 17.4 kB
raw_bsd.c 6.1 kB
rbd.c 26.7 kB
sheepdog.c 69.3 kB
snapshot.c 8.4 kB
ssh.c 29.1 kB
stream.c 7 kB
vdi.c 25.2 kB
vhdx-endian.c 5.2 kB
vhdx-log.c 28.4 kB
vhdx.c 61.6 kB
vhdx.h 19.1 kB
vmdk.c 58.6 kB
vpc.c 24.4 kB
vvfat.c 84.7 kB
win32-aio.c 5.7 kB

Latest revisions

# Date Author Comment
509d39aa 11/29/2013 06:41 pm Fam Zheng

vmdk: Allow read only open of VMDK version 3

Signed-off-by: Fam Zheng <>
Signed-off-by: Kevin Wolf <>

c9fbb99d 11/29/2013 06:41 pm Kevin Wolf

block: Use BDRV_O_NO_BACKING where appropriate

If you open an image temporarily just because you want to check its size
or get it flushed, there's no real reason to open the whole backing file
chain.

Signed-off-by: Kevin Wolf <>
Reviewed-by: Fam Zheng <>...

c31d482f 11/29/2013 02:40 pm Liu Yuan

sheepdog: refactor do_sd_create()

We can actually use BDRVSheepdogState *s to pass most of the parameters.

Cc: Kevin Wolf <>
Cc: Stefan Hajnoczi <>
Signed-off-by: Liu Yuan <>
Signed-off-by: Stefan Hajnoczi <>

b3af018f 11/29/2013 02:40 pm Liu Yuan

sheepdog: support user-defined redundancy option

Sheepdog support two kinds of redundancy, full replication and erasure coding.

  1. create a fully replicated vdi with x copies
    -o redundancy=x (1 <= x <= SD_MAX_COPIES)
  1. create a erasure coded vdi with x data strips and y parity strips...
4cc70e93 11/29/2013 02:40 pm Fam Zheng

blkdebug: add "remove_break" command

This adds "remove_break" command which is the reverse of blkdebug
command "break": it removes all breakpoints with given tag and resumes
all the requests.

Signed-off-by: Fam Zheng <>
Signed-off-by: Stefan Hajnoczi <>

21b56835 11/29/2013 02:40 pm Fam Zheng

qapi: Change BlockDirtyInfo to list

We have multiple dirty bitmaps in BDS now, switch QAPI to allow query
it (BlockInfo.dirty_bitmaps), and also drop old BlockInfo.dirty.

Signed-off-by: Fam Zheng <>
Signed-off-by: Kevin Wolf <>

14b98fda 11/29/2013 02:40 pm Charlie Shepherd

COW: Speed up writes

Process a whole sector's worth of COW bits by reading a sector, setting
the bits after skipping any already set bits, then writing it out again.
Make sure we only flush once before writing metadata, and only if we
need to write metadata....

091b1108 11/29/2013 02:40 pm Charlie Shepherd

COW: Extend checking allocated bits to beyond one sector

cow_co_is_allocated() only checks one sector's worth of allocated bits
before returning. This is allowed but (slightly) inefficient, so extend
it to check all of the file's metadata sectors.

Signed-off-by: Charlie Shepherd <>...

e4654d2d 11/29/2013 02:40 pm Fam Zheng

block: per caller dirty bitmap

Previously a BlockDriverState has only one dirty bitmap, so only one
caller (e.g. a block job) can keep track of writing. This changes the
dirty bitmap to a list and creates a BdrvDirtyBitmap for each caller, the
lifecycle is managed with these new functions:...

f4a193e7 11/28/2013 12:39 pm Max Reitz

block/stream: Don't stream unbacked devices

If a block device is unbacked, a streaming blockjob should immediately
finish instead of beginning to try to stream, then noticing the backing
file does not contain even the first sector (since it does not exist)...

View revisions

Also available in: Atom