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

Eric Blake posted 5 patches 4 years, 7 months ago
Failed in applying to current master (apply log)
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(-)
[Qemu-devel] [PATCH 0/5] Add NBD fast zero support to qemu client and server
Posted by Eric Blake 4 years, 7 months ago
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(-)

-- 
2.21.0


Re: [Qemu-devel] [PATCH 0/5] Add NBD fast zero support to qemu client and server
Posted by Vladimir Sementsov-Ogievskiy 4 years, 7 months ago
23.08.2019 17:37, Eric Blake wrote:
> 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()]

I assume, I can look at git://repo.or.cz/qemu/ericb.git fast-zero branch?

> 
> 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(-)
> 


-- 
Best regards,
Vladimir
Re: [Qemu-devel] [PATCH 0/5] Add NBD fast zero support to qemu client and server
Posted by Eric Blake 4 years, 7 months ago
On 8/28/19 8:55 AM, Vladimir Sementsov-Ogievskiy wrote:
> 23.08.2019 17:37, Eric Blake wrote:
>> 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()]
> 
> I assume, I can look at git://repo.or.cz/qemu/ericb.git fast-zero branch?

Yes, I posted a fast-zero branch for all four projects that I touched
(with the obvious similar URLs). They might have non-fast-forward
changes as I rebase things (for example, the nbdkit stuff needs to
s/1.13.9/1.15.0/ in docs about which version introduced things), but
should be sufficient to reproduce experiments with the feature supported.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org