[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/8] nbd minimal structured read
From: |
Vladimir Sementsov-Ogievskiy |
Subject: |
[Qemu-devel] [PATCH 0/8] nbd minimal structured read |
Date: |
Mon, 25 Sep 2017 16:57:53 +0300 |
Hi all. Here is minimal structured-read extension implementation for nbd.
It is needed mostly to implement nbd block-status extension over it, so
it is minimal.
It's based on my three patches, currently on pull-request stage:
block/nbd-client: refactor nbd_co_receive_reply
block/nbd-client: simplify check in nbd_co_receive_reply
block/nbd-client: nbd_co_send_request: fix return code
clone: tag up-nbd-minimal-structured-read-v1 from
https://src.openvz.org/scm/~vsementsov/qemu.git
online:
https://src.openvz.org/users/vsementsov/repos/qemu/browse?at=up-nbd-minimal-structured-read-v1
Note: actually it's a continuation of a part of my series "nbd: BLOCK_STATUS",
but it was sent about half a year ago, so let's consider it as new series.
Vladimir Sementsov-Ogievskiy (8):
block/nbd-client: assert qiov len once in nbd_co_request
block/nbd-client: refactor nbd_co_receive_reply
nbd: rename NBD_REPLY_MAGIC to NBD_SIMPLE_REPLY_MAGIC
nbd-server: refactor simple reply sending
nbd: header constants indenting
nbd: Minimal structured read for server
nbd/client: refactor nbd_receive_starttls
nbd: Minimal structured read for client
block/nbd-client.h | 2 +
include/block/nbd.h | 67 +++++++--
nbd/nbd-internal.h | 44 +++---
block/nbd-client.c | 104 +++++++++++---
nbd/client.c | 233 ++++++++++++++++++++++++++-----
nbd/server.c | 189 +++++++++++++++++--------
nbd/trace-events | 7 +-
tests/qemu-iotests/nbd-fault-injector.py | 4 +-
8 files changed, 507 insertions(+), 143 deletions(-)
--
2.11.1
- [Qemu-devel] [PATCH 0/8] nbd minimal structured read,
Vladimir Sementsov-Ogievskiy <=
[Qemu-devel] [PATCH 2/8] block/nbd-client: refactor nbd_co_receive_reply, Vladimir Sementsov-Ogievskiy, 2017/09/25
[Qemu-devel] [PATCH 3/8] nbd: rename NBD_REPLY_MAGIC to NBD_SIMPLE_REPLY_MAGIC, Vladimir Sementsov-Ogievskiy, 2017/09/25