qemu-e2k/block
MORITA Kazutaka 6d1acda8f1 sheepdog: fix co_recv coroutine context
The co_recv coroutine has two things that will try to enter it:

  1. The select(2) read callback on the sheepdog socket.
  2. The aio_add_request() blocking operations, including a coroutine
     mutex.

This patch fixes it by setting NULL to co_recv before sending data.

In future, we should make the sheepdog driver fully coroutine-based
and simplify request handling.

Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2012-02-09 16:17:51 +01:00
..
blkdebug.c
blkverify.c
bochs.c
cloop.c
cow.c
curl.c
dmg.c
iscsi.c iSCSI: add configuration variables for iSCSI 2012-02-09 16:17:50 +01:00
nbd.c
parallels.c
qcow2-cache.c
qcow2-cluster.c
qcow2-refcount.c
qcow2-snapshot.c
qcow2.c qcow2: Keep unknown header extension when rewriting header 2012-02-09 16:17:51 +01:00
qcow2.h qcow2: Keep unknown header extension when rewriting header 2012-02-09 16:17:51 +01:00
qcow.c qcow: Use bdrv functions to replace file operation 2012-01-26 14:49:18 +01:00
qed-check.c
qed-cluster.c
qed-gencb.c
qed-l2-cache.c
qed-table.c
qed.c qed: add .bdrv_co_write_zeroes() support 2012-02-09 16:17:50 +01:00
qed.h qed: add .bdrv_co_write_zeroes() support 2012-02-09 16:17:50 +01:00
raw-posix-aio.h
raw-posix.c
raw-win32.c
raw.c
rbd.c
sheepdog.c sheepdog: fix co_recv coroutine context 2012-02-09 16:17:51 +01:00
stream.c
vdi.c
vmdk.c
vpc.c vpc: Round up image size during fixed image creation 2012-02-09 16:17:51 +01:00
vvfat.c