[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [nbdkit PATCH 0/3] nbdkit support for new NBD fast zero
From: |
Eric Blake |
Subject: |
[Qemu-devel] [nbdkit PATCH 0/3] nbdkit support for new NBD fast zero |
Date: |
Fri, 23 Aug 2019 09:40:51 -0500 |
See the cross-post cover letter for details:
https://www.redhat.com/archives/libguestfs/2019-August/msg00322.html
Notably, this series did NOT add fast zero support to the file plugin
yet; there, I probably need to do more testing and/or kernel source
code reading to learn whether to mark fallocate() as potentially slow,
as well as to definitely mark ioctl(BLKZEROOUT) as definitely slow.
That will be a followup patch.
Eric Blake (3):
server: Add internal support for NBDKIT_FLAG_FAST_ZERO
filters: Add .can_fast_zero hook
plugins: Add .can_fast_zero hook
docs/nbdkit-filter.pod | 27 ++++--
docs/nbdkit-plugin.pod | 74 +++++++++++---
docs/nbdkit-protocol.pod | 11 +++
filters/delay/nbdkit-delay-filter.pod | 15 ++-
filters/log/nbdkit-log-filter.pod | 2 +-
filters/nozero/nbdkit-nozero-filter.pod | 41 ++++++--
plugins/sh/nbdkit-sh-plugin.pod | 13 ++-
server/internal.h | 2 +
common/protocol/protocol.h | 11 ++-
server/filters.c | 33 ++++++-
server/plugins.c | 47 ++++++++-
server/protocol-handshake.c | 7 ++
server/protocol.c | 46 +++++++--
include/nbdkit-common.h | 7 +-
include/nbdkit-filter.h | 3 +
include/nbdkit-plugin.h | 2 +
filters/blocksize/blocksize.c | 12 +++
filters/cache/cache.c | 20 ++++
filters/cow/cow.c | 20 ++++
filters/delay/delay.c | 28 +++++-
filters/log/log.c | 16 ++--
filters/nozero/nozero.c | 62 +++++++++++-
filters/truncate/truncate.c | 15 +++
plugins/data/data.c | 14 ++-
plugins/full/full.c | 12 +--
plugins/memory/memory.c | 14 ++-
plugins/nbd/nbd.c | 28 +++++-
plugins/null/null.c | 8 ++
plugins/ocaml/ocaml.c | 26 ++++-
plugins/sh/call.c | 1 -
plugins/sh/sh.c | 39 ++++++--
plugins/ocaml/NBDKit.ml | 10 +-
plugins/ocaml/NBDKit.mli | 2 +
plugins/rust/src/lib.rs | 3 +
tests/test-eflags.sh | 122 +++++++++++++++++++++---
tests/test-fua.sh | 4 +-
36 files changed, 686 insertions(+), 111 deletions(-)
--
2.21.0
- [Qemu-devel] [PATCH 0/5] Add NBD fast zero support to qemu client and server, (continued)
- [Qemu-devel] [PATCH 0/5] Add NBD fast zero support to qemu client and server, Eric Blake, 2019/08/23
- [Qemu-devel] [PATCH 1/5] nbd: Improve per-export flag handling in server, Eric Blake, 2019/08/23
- [Qemu-devel] [PATCH 3/5] nbd: Implement client use of NBD FAST_ZERO, Eric Blake, 2019/08/23
- [Qemu-devel] [PATCH 4/5] nbd: Implement server use of NBD FAST_ZERO, Eric Blake, 2019/08/23
- [Qemu-devel] [PATCH 5/5] nbd: Tolerate more errors to structured reply request, Eric Blake, 2019/08/23
- [Qemu-devel] [PATCH 2/5] nbd: Prepare for NBD_CMD_FLAG_FAST_ZERO, Eric Blake, 2019/08/23
- [Qemu-devel] [libnbd PATCH 0/1] libnbd support for new fast zero, Eric Blake, 2019/08/23
- [Qemu-devel] [nbdkit PATCH 0/3] nbdkit support for new NBD fast zero,
Eric Blake <=
- Re: [Qemu-devel] cross-project patches: Add NBD Fast Zero support, Vladimir Sementsov-Ogievskiy, 2019/08/23
- Re: [Qemu-devel] [Libguestfs] cross-project patches: Add NBD Fast Zero support, Richard W.M. Jones, 2019/08/27