On 12/23/2011 09:26 AM, Paolo Bonzini wrote:
Anthony,
the following changes since commit 3799ce4ab64f578eb818689a276e4f0c73d01fb5:
sd: Remember to reset .expecting_acmd on reset. (2011-12-21 05:04:21 +0100)
are available in the git repository at:
git://github.com/bonzini/qemu.git nbd-for-anthony
Pulled. Thanks.
Regards,
Anthony Liguori
Thanks,
Paolo
Chunyan Liu (1):
Update ioctl order in nbd_init() to detect EBUSY
Paolo Bonzini (25):
add qemu_send_full and qemu_recv_full
sheepdog: move coroutine send/recv function to generic code
nbd: switch to asynchronous operation
nbd: split requests
nbd: allow multiple in-flight requests
nbd: fix error handling in the server
nbd: add support for NBD_CMD_FLAG_FUA
nbd: add support for NBD_CMD_FLUSH
nbd: add support for NBD_CMD_TRIM
qemu-nbd: remove offset argument to nbd_trip
qemu-nbd: remove data_size argument to nbd_trip
move corking functions to osdep.c
qemu-nbd: simplify nbd_trip
qemu-nbd: introduce nbd_do_send_reply
qemu-nbd: more robust handling of invalid requests
qemu-nbd: introduce nbd_do_receive_request
qemu-nbd: introduce NBDExport
qemu-nbd: introduce NBDRequest
link the main loop and its dependencies into the tools
qemu-nbd: use common main loop
qemu-nbd: move client handling to nbd.c
qemu-nbd: add client pointer to NBDRequest
qemu-nbd: asynchronous operation
qemu-nbd: throttle requests
nbd: add myself as maintainer
MAINTAINERS | 7 +
Makefile | 5 +-
Makefile.objs | 2 +-
block/nbd.c | 319 ++++++++++++++++++++++++++++++-------
block/sheepdog.c | 250 +++--------------------------
cutils.c | 111 +++++++++++++
main-loop.h | 6 +
nbd.c | 439 ++++++++++++++++++++++++++++++++++++++++-----------
nbd.h | 14 ++-
os-posix.c | 42 -----
os-win32.c | 5 -
osdep.c | 76 +++++++++
oslib-posix.c | 43 +++++
oslib-win32.c | 5 +
qemu-common.h | 34 ++++
qemu-coroutine-io.c | 96 +++++++++++
qemu-nbd.c | 120 +++++---------
qemu-tool.c | 42 +++---
qemu_socket.h | 1 +
19 files changed, 1087 insertions(+), 530 deletions(-)
create mode 100644 qemu-coroutine-io.c