Skip to content

nbd: use TCP_NODELAY

Stefan Hajnoczi qemu-devel 1 version Applied

Status from this message: Thanks, applied all to nbd-next.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3nbd: unlock mutex in nbd_co_send_request() error pathblock/nbd.c+1 -10 replies
2/3nbd: use TCP_CORK in nbd_co_send_request()block/nbd.c+16 -60 replies
3/3nbd: set TCP_NODELAYblock/nbd.c+3 -00 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchNick Thomas
SeriesT-b
1/3
2/3
3/3

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/3] nbd: use TCP_NODELAY

The nbd block driver should use TCP_NODELAY. Nick Thomas <[email protected]> measured a 40 millisecond latency added by the Naggle algorithm.

This series turns on TCP_NODELAY. This requires that we use TCP_CORK to efficiently send NBD requests that contain a payload after the header.

Finally, fix a bug where we forget to unlock a mutex when sending fails.

Stefan Hajnoczi (3):
nbd: unlock mutex in nbd_co_send_request() error path
nbd: use TCP_CORK in nbd_co_send_request()
nbd: set TCP_NODELAY

 block/nbd.c | 25 +++++++++++++++++++------
 1 file changed, 19 insertions(+), 6 deletions(-)
Signature · 1 line
1.8.1.4