Skip to content

Optimize sparse reads over NBD

Eric Blake qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2nbd/server: Implement sparse reads atop structured replynbd/server.c nbd/trace-events+76 -31 reply
2/2nbd/server: Optimize final chunk of sparse readnbd/server.c+7 -61 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchVladimir Sementsov-Ogievskiy
1/2R-b
2/2R-b

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/2] Optimize sparse reads over NBD

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: [email protected] ([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(-)
Signature · 1 line
2.13.6