Skip to content

Add NBD fast zero support to qemu client and server

Eric Blake qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5nbd: Improve per-export flag handling in serverblockdev-nbd.c include/block/nbd.h nbd/server.c +1 more+39 -345 replies
2/5nbd: Prepare for NBD_CMD_FLAG_FAST_ZEROdocs/interop/nbd.txt include/block/nbd.h nbd/common.c +2 more+14 -15 replies
3/5nbd: Implement client use of NBD FAST_ZEROblock/nbd.c+7 -01 reply
4/5nbd: Implement server use of NBD FAST_ZEROnbd/server.c+6 -21 reply
5/5nbd: Tolerate more errors to structured reply requestnbd/client.c+23 -161 reply

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchVladimir Sementsov-Ogievskiy
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/5] Add NBD fast zero support to qemu client and server

See the cross-post cover letter for more details:
https://www.redhat.com/archives/libguestfs/2019-August/msg00322.html

Based-on: https://lists.gnu.org/archive/html/qemu-devel/2019-08/msg04805.html
[Andrey Shinkevich block: workaround for unaligned byte range in fallocate()]

Eric Blake (5):
nbd: Improve per-export flag handling in server
nbd: Prepare for NBD_CMD_FLAG_FAST_ZERO
nbd: Implement client use of NBD FAST_ZERO
nbd: Implement server use of NBD FAST_ZERO
nbd: Tolerate more errors to structured reply request

 docs/interop/nbd.txt |  3 +-
 include/block/nbd.h  |  6 +++-
 block/nbd.c          |  7 +++++
 blockdev-nbd.c       |  3 +-
 nbd/client.c         | 39 ++++++++++++++----------
 nbd/common.c         |  5 ++++
 nbd/server.c         | 70 ++++++++++++++++++++++++++------------------
 qemu-nbd.c           |  7 +++--
 8 files changed, 88 insertions(+), 52 deletions(-)
Signature · 1 line
2.21.0