sheepdog: reconnect server after connection failure
Is this series of patches applyable to sheepdog-stable-0.6 band qemu 1.5.0 ? I've seen they use async i/o...
MORITA Kazutaka <[email protected]> ha scritto:
Quoted 35 lines
Currently, if a sheepdog server exits, all the connecting VMs need to be restarted. This series implements a feature to reconnect the server, and enables us to do online sheepdog upgrade and avoid restarting VMs when sheepdog servers crash unexpectedly.
MORITA Kazutaka (11):
ignore SIGPIPE in qemu-img and qemu-io
iov: handle eof iniov_send_recv
qemu-sockets: makewait_for_connectbe invoked inqemu_aio_wait
sheepdog: make connect nonblocking
sheepdog: check return values of qemu_co_recv/send correctly
sheepdog: handle vdi objects inresend_aio_req
sheepdog: reload inode outside ofresend_aioreq
coroutine: addco_aio_sleep_ns()to allow sleep in block drivers
sheepdog: try to reconnect to sheepdog after network error
sheepdog: makeadd_aio_requestandsend_aioreqvoid functions
sheepdog: cancel aio requests if possibleMakefile | 4 +- block/sheepdog.c | 314 ++++++++++++++++++++++++++++++++-------------- include/block/coroutine.h | 8 ++ qemu-coroutine-sleep.c | 47 +++++++ qemu-img.c | 4 + qemu-io.c | 4 + util/iov.c | 6 + util/qemu-sockets.c | 15 ++- 8 files changed, 303 insertions(+), 99 deletions(-)Signature · 6 lines
1.8.1.3.566.gaa39828 -- sheepdog mailing list [email protected] http://lists.wpkg.org/mailman/listinfo/sheepdog
At Tue, 23 Jul 2013 13:08:04 +0200,
Quoted 2 lines · Luca Lazzeroni
Is this series of patches applyable to sheepdog-stable-0.6 band qemu 1.5.0 ? I've seen they use async i/o...
This series is against upstream qemu. I've not tried it with qemu 1.5.x, but probably it can be applied without a big change.
Thanks,
Kazutaka