{"id":818254,"url":"http://patchwork.ozlabs.org/api/covers/818254/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/cover/20170925135801.144261-1-vsementsov@virtuozzo.com/","project":{"id":14,"url":"http://patchwork.ozlabs.org/api/projects/14/?format=json","name":"QEMU Development","link_name":"qemu-devel","list_id":"qemu-devel.nongnu.org","list_email":"qemu-devel@nongnu.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170925135801.144261-1-vsementsov@virtuozzo.com>","list_archive_url":null,"date":"2017-09-25T13:57:53","name":"[0/8] nbd minimal structured read","submitter":{"id":66592,"url":"http://patchwork.ozlabs.org/api/people/66592/?format=json","name":"Vladimir Sementsov-Ogievskiy","email":"vsementsov@virtuozzo.com"},"mbox":"http://patchwork.ozlabs.org/project/qemu-devel/cover/20170925135801.144261-1-vsementsov@virtuozzo.com/mbox/","series":[{"id":4967,"url":"http://patchwork.ozlabs.org/api/series/4967/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/list/?series=4967","date":"2017-09-25T13:58:01","name":"nbd minimal structured read","version":1,"mbox":"http://patchwork.ozlabs.org/series/4967/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/818254/comments/","headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)","Received":["from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3y15Pg2m3zz9tX8\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 26 Sep 2017 00:02:31 +1000 (AEST)","from localhost ([::1]:42593 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dwTxt-000194-Bh\n\tfor incoming@patchwork.ozlabs.org; Mon, 25 Sep 2017 10:02:29 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:39664)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <vsementsov@virtuozzo.com>) id 1dwTtz-0006Yh-M8\n\tfor qemu-devel@nongnu.org; Mon, 25 Sep 2017 09:58:28 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <vsementsov@virtuozzo.com>) id 1dwTtv-0007DP-QG\n\tfor qemu-devel@nongnu.org; Mon, 25 Sep 2017 09:58:27 -0400","from mailhub.sw.ru ([195.214.232.25]:37056 helo=relay.sw.ru)\n\tby eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.71) (envelope-from <vsementsov@virtuozzo.com>)\n\tid 1dwTtv-0007CC-Cb\n\tfor qemu-devel@nongnu.org; Mon, 25 Sep 2017 09:58:23 -0400","from kvm.sw.ru (msk-vpn.virtuozzo.com [195.214.232.6])\n\tby relay.sw.ru (8.13.4/8.13.4) with ESMTP id v8PDw1fq013085;\n\tMon, 25 Sep 2017 16:58:02 +0300 (MSK)"],"From":"Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>","To":"qemu-devel@nongnu.org, qemu-block@nongnu.org","Date":"Mon, 25 Sep 2017 16:57:53 +0300","Message-Id":"<20170925135801.144261-1-vsementsov@virtuozzo.com>","X-Mailer":"git-send-email 2.11.1","X-detected-operating-system":"by eggs.gnu.org: OpenBSD 3.x [fuzzy]","X-Received-From":"195.214.232.25","Subject":"[Qemu-devel] [PATCH 0/8] nbd minimal structured read","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"<qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<http://lists.nongnu.org/archive/html/qemu-devel/>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Cc":"kwolf@redhat.com, vsementsov@virtuozzo.com, Hmreitz@redhat.com,\n\tden@openvz.org, pbonzini@redhat.com","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"},"content":"Hi all. Here is minimal structured-read extension implementation for nbd.\nIt is needed mostly to implement nbd block-status extension over it, so\nit is minimal.\n\nIt's based on my three patches, currently on pull-request stage:\n      block/nbd-client: refactor nbd_co_receive_reply\n      block/nbd-client: simplify check in nbd_co_receive_reply\n      block/nbd-client: nbd_co_send_request: fix return code\n\nclone: tag up-nbd-minimal-structured-read-v1 from https://src.openvz.org/scm/~vsementsov/qemu.git\nonline: https://src.openvz.org/users/vsementsov/repos/qemu/browse?at=up-nbd-minimal-structured-read-v1\n\nNote: actually it's a continuation of a part of my series \"nbd: BLOCK_STATUS\",\nbut it was sent about half a year ago, so let's consider it as new series.\n\nVladimir Sementsov-Ogievskiy (8):\n  block/nbd-client: assert qiov len once in nbd_co_request\n  block/nbd-client: refactor nbd_co_receive_reply\n  nbd: rename NBD_REPLY_MAGIC to NBD_SIMPLE_REPLY_MAGIC\n  nbd-server: refactor simple reply sending\n  nbd: header constants indenting\n  nbd: Minimal structured read for server\n  nbd/client: refactor nbd_receive_starttls\n  nbd: Minimal structured read for client\n\n block/nbd-client.h                       |   2 +\n include/block/nbd.h                      |  67 +++++++--\n nbd/nbd-internal.h                       |  44 +++---\n block/nbd-client.c                       | 104 +++++++++++---\n nbd/client.c                             | 233 ++++++++++++++++++++++++++-----\n nbd/server.c                             | 189 +++++++++++++++++--------\n nbd/trace-events                         |   7 +-\n tests/qemu-iotests/nbd-fault-injector.py |   4 +-\n 8 files changed, 507 insertions(+), 143 deletions(-)"}