Statistics
| Branch: | Revision:

root / block @ e4780db4

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 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 54.5 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
c292ee6a 07/09/2012 04:53 pm MORITA Kazutaka

sheepdog: split outstanding list into inflight and pending

outstanding_list_head is used for both pending and inflight requests.
This patch splits it and improves readability.

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

7dc1cde0 07/09/2012 04:53 pm MORITA Kazutaka

sheepdog: traverse pending_list from the first for each time

The pending list can be modified in other coroutine context
sd_co_rw_vector, so we need to traverse the list from the first again
after we send the pending request.

Signed-off-by: MORITA Kazutaka <>...

820100fd 07/09/2012 04:53 pm Paolo Bonzini

blkdebug: remove sync i/o events

These are unused, except (by mistake more or less) in QED.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Kevin Wolf <>

368e8dd1 07/09/2012 04:53 pm Paolo Bonzini

blkdebug: tiny cleanup

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Kevin Wolf <>

e1302255 07/09/2012 04:53 pm Paolo Bonzini

blkdebug: pass getlength to underlying file

This is required when using blkdebug with raw format. Unlike qcow2/QED,
raw asks blkdebug for the length of the file, it doesn't get it from
a header.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Kevin Wolf <>

571cd43e 07/09/2012 04:53 pm Paolo Bonzini

blkdebug: store list of active rules

This prepares for the next patch, where some active rules may actually
not trigger depending on input to readv/writev. Store the active rules
in a SIMPLEQ (so that it can be emptied easily with QSIMPLEQ_INIT), and
fetch the errno/once/immediately arguments from there....

e4780db4 07/09/2012 04:53 pm Paolo Bonzini

blkdebug: optionally tie errors to a specific sector

This makes blkdebug scripts more powerful, and independent of the
exact sequence of operations performed by streaming.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Kevin Wolf <>

2dfcca3b 07/09/2012 04:53 pm MORITA Kazutaka

sheepdog: restart I/O when socket becomes ready in do_co_req()

Currently, no one reenters the yielded coroutine. This fixes it.

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

b97564f4 07/09/2012 04:53 pm MORITA Kazutaka

sheepdog: use coroutine based socket functions in coroutine context

This removes blocking network I/Os in coroutine context.

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

1d732d7d 07/09/2012 04:53 pm MORITA Kazutaka

sheepdog: make sure we don't free aiocb before sending all requests

This patch increments the pending counter before sending requests, and
make sures that aiocb is not freed while sending them.

Signed-off-by: MORITA Kazutaka <>...

View revisions

Also available in: Atom