On 21.02.2017 12:56, Stefan Hajnoczi wrote: > From: Paolo Bonzini <pbonz...@redhat.com> > > In the client, read the reply headers from a coroutine, switching the > read side between the "read header" coroutine and the I/O coroutine that > reads the body of the reply. > > In the server, if the server can read more requests it will create a new > "read request" coroutine as soon as a request has been read. Otherwise, > the new coroutine is created in nbd_request_put. > > Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com> > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > Reviewed-by: Fam Zheng <f...@redhat.com> > Reviewed-by: Daniel P. Berrange <berra...@redhat.com> > Message-id: 20170213135235.12274-8-pbonz...@redhat.com > Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com> > --- > block/nbd-client.h | 2 +- > block/nbd-client.c | 117 > ++++++++++++++++++++++++----------------------------- > nbd/client.c | 2 +- > nbd/common.c | 9 +---- > nbd/server.c | 94 +++++++++++++----------------------------- > 5 files changed, 83 insertions(+), 141 deletions(-)
git-bisect tells me this broke qemu-iotest 083 (which hangs now). Maybe someone who is more involved with this patch can look into that...? (Although I don't know how urgent it is, probably not too much.) Max
signature.asc
Description: OpenPGP digital signature