Skip to content

NBD 6.2-rc fixes

Eric Blake qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2nbd/server: Don't complain on certain client disconnectsnbd/server.c+5 -22 replies
2/2nbd/server: Simplify zero and trimnbd/server.c+3 -203 replies

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 [PATCH for-6.2 0/2] NBD 6.2-rc fixes

Back in September, Rich proposed a patch to silence an EPIPE message from qemu-nbd when used with Unix sockets:
https://lists.gnu.org/archive/html/qemu-devel/2021-09/msg03359.html

But investigating that further, I found that we had a different message with TCP sockets, and that we regressed in qemu 6.0 with regards to the message we print due to the use of uninitialized memory. Fixing the uninitialized memory use happens to also silence the message that Rich was seeing, but without needing to special-case EPIPE.

I also noticed that even though commit 2800637a and friends made the block layer support 64-bit zero/trim, we are still manually splitting 3G requests in the NBD driver. Patch 2 fixes that, although I'm less certain whether it counts as 6.2-rc material since it is merely a minor performance tweak to a feature new to 6.2, rather than a regression fix.

Eric Blake (2):
nbd/server: Don't complain on certain client disconnects nbd/server: Simplify zero and trim

 nbd/server.c | 30 ++++++++----------------------
 1 file changed, 8 insertions(+), 22 deletions(-)
Signature · 1 line
2.33.1