[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH 0/2] Optimize sparse reads over NBD
From: |
Eric Blake |
Subject: |
[Qemu-block] [PATCH 0/2] Optimize sparse reads over NBD |
Date: |
Mon, 6 Nov 2017 21:09:10 -0600 |
When I first proposed the NBD extension of structured reads,
it was in order to more efficiently read sparse files without
sending lots of zeroes over the wire. These two patches feel
like a feature addition, and missed soft freeze, so I'm
reluctant to include them in a 2.11 pull request; on the other
hand, implementing structured replies without sparse reads is
a rather incomplete feature addition even if it complies with
the NBD spec. Since structured replies is a new 2.11 feature,
I could argue that it is a bug if the new feature does not go
all the way to sparse reads.
I've posted this as two patches, but welcome opinions on whether
it should be squashed into one.
Based-on: address@hidden
([PATCH 0/8] various NBD fixes for 2.11)
Eric Blake (2):
nbd/server: Implement sparse reads atop structured reply
nbd/server: Optimize final chunk of sparse read
nbd/server.c | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++++---
nbd/trace-events | 1 +
2 files changed, 77 insertions(+), 3 deletions(-)
--
2.13.6
- [Qemu-block] [PATCH 0/2] Optimize sparse reads over NBD,
Eric Blake <=