[{"id":1774750,"web_url":"http://patchwork.ozlabs.org/comment/1774750/","msgid":"<864fc90f-7add-1dbc-c741-c1ac37161486@virtuozzo.com>","list_archive_url":null,"date":"2017-09-25T14:06:02","subject":"Re: [Qemu-devel] [PATCH 0/8] nbd minimal structured read","submitter":{"id":66592,"url":"http://patchwork.ozlabs.org/api/people/66592/","name":"Vladimir Sementsov-Ogievskiy","email":"vsementsov@virtuozzo.com"},"content":"Add Max.\n\nMax, sorry, I've mistaken in copy-pasting your email address..\n\n25.09.2017 16:57, Vladimir Sementsov-Ogievskiy wrote:\n> Hi all. Here is minimal structured-read extension implementation for nbd.\n> It is needed mostly to implement nbd block-status extension over it, so\n> it is minimal.\n>\n> It'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>\n> clone: tag up-nbd-minimal-structured-read-v1 from https://src.openvz.org/scm/~vsementsov/qemu.git\n> online: https://src.openvz.org/users/vsementsov/repos/qemu/browse?at=up-nbd-minimal-structured-read-v1\n>\n> Note: actually it's a continuation of a part of my series \"nbd: BLOCK_STATUS\",\n> but it was sent about half a year ago, so let's consider it as new series.\n>\n> Vladimir 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(-)\n>","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 3y15Vl218Tz9tX8\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 26 Sep 2017 00:06:55 +1000 (AEST)","from localhost ([::1]:42645 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 1dwU29-00058S-Cn\n\tfor incoming@patchwork.ozlabs.org; Mon, 25 Sep 2017 10:06:53 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:42895)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <vsementsov@virtuozzo.com>) id 1dwU1X-00053Z-Nr\n\tfor qemu-devel@nongnu.org; Mon, 25 Sep 2017 10:06:21 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <vsementsov@virtuozzo.com>) id 1dwU1T-0002lH-O2\n\tfor qemu-devel@nongnu.org; Mon, 25 Sep 2017 10:06:15 -0400","from mailhub.sw.ru ([195.214.232.25]:8908 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 1dwU1T-0002kV-Bk\n\tfor qemu-devel@nongnu.org; Mon, 25 Sep 2017 10:06:11 -0400","from [172.16.24.243] (msk-vpn.virtuozzo.com [195.214.232.6])\n\tby relay.sw.ru (8.13.4/8.13.4) with ESMTP id v8PE62pU017656;\n\tMon, 25 Sep 2017 17:06:02 +0300 (MSK)"],"To":"qemu-devel@nongnu.org, qemu-block@nongnu.org","References":"<20170925135801.144261-1-vsementsov@virtuozzo.com>","From":"Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>","Message-ID":"<864fc90f-7add-1dbc-c741-c1ac37161486@virtuozzo.com>","Date":"Mon, 25 Sep 2017 17:06:02 +0300","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.3.0","MIME-Version":"1.0","In-Reply-To":"<20170925135801.144261-1-vsementsov@virtuozzo.com>","Content-Type":"text/plain; charset=utf-8; format=flowed","Content-Transfer-Encoding":"7bit","Content-Language":"en-US","X-detected-operating-system":"by eggs.gnu.org: OpenBSD 3.x [fuzzy]","X-Received-From":"195.214.232.25","Subject":"Re: [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, pbonzini@redhat.com, den@openvz.org,\n\tMax Reitz <mreitz@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>"}}]