Re: [Qemu-devel] [PATCH] sheepdog: use coroutines

2011-12-23 Thread Christoph Hellwig
FYI, this causes segfaults when doing large streaming writes when running against a sheepdog cluster which: a) has relatively fast SSDs and b) uses buffered I/O. Unfortunately I can't get a useful backtrace out of gdb. When running just this commit I at least get some debugging messages:

Re: [Qemu-devel] [PATCH] sheepdog: use coroutines

2011-08-24 Thread Kevin Wolf
Am 23.08.2011 19:14, schrieb MORITA Kazutaka: > At Tue, 23 Aug 2011 14:29:50 +0200, > Kevin Wolf wrote: >> >> Am 12.08.2011 14:33, schrieb MORITA Kazutaka: >>> This makes the sheepdog block driver support bdrv_co_readv/writev >>> instead of bdrv_aio_readv/writev. >>> >>> With this patch, Sheepdog n

Re: [Qemu-devel] [PATCH] sheepdog: use coroutines

2011-08-23 Thread MORITA Kazutaka
At Tue, 23 Aug 2011 14:29:50 +0200, Kevin Wolf wrote: > > Am 12.08.2011 14:33, schrieb MORITA Kazutaka: > > This makes the sheepdog block driver support bdrv_co_readv/writev > > instead of bdrv_aio_readv/writev. > > > > With this patch, Sheepdog network I/O becomes fully asynchronous. The > > bl

Re: [Qemu-devel] [PATCH] sheepdog: use coroutines

2011-08-23 Thread Kevin Wolf
Am 12.08.2011 14:33, schrieb MORITA Kazutaka: > This makes the sheepdog block driver support bdrv_co_readv/writev > instead of bdrv_aio_readv/writev. > > With this patch, Sheepdog network I/O becomes fully asynchronous. The > block driver yields back when send/recv returns EAGAIN, and is resumed

[Qemu-devel] [PATCH] sheepdog: use coroutines

2011-08-12 Thread MORITA Kazutaka
This makes the sheepdog block driver support bdrv_co_readv/writev instead of bdrv_aio_readv/writev. With this patch, Sheepdog network I/O becomes fully asynchronous. The block driver yields back when send/recv returns EAGAIN, and is resumed when the sheepdog network connection is ready for the op