[Qemu-devel] [PATCH 3/3] nbd: set TCP_NODELAY

2013-04-19 Thread Paolo Bonzini
From: Stefan Hajnoczi Disable the Nagle algorithm to reduce latency. Note this means we must also use TCP_CORK when sending header followed by payload to avoid fragmenting lots of little packets. The previous patch took care of that. Suggested-by: Nick Thomas Tested-by: Nick Thomas Signed-of

[Qemu-devel] [PATCH 3/3] nbd: set TCP_NODELAY

2013-04-15 Thread Stefan Hajnoczi
Disable the Nagle algorithm to reduce latency. Note this means we must also use TCP_CORK when sending header followed by payload to avoid fragmenting lots of little packets. The previous patch took care of that. Suggested-by: Nick Thomas Signed-off-by: Stefan Hajnoczi --- block/nbd.c | 3 +++