Displaying 2 results from an estimated 2 matches for "36cca37".
2019 Jun 08
0
[PATCH libnbd 2/3] states: Add handle h->wflags field.
...ssed
through to the socket layer if it supports them. The flags are reset
automatically when we move to another state.
---
generator/states.c | 6 ++++--
lib/internal.h | 1 +
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/generator/states.c b/generator/states.c
index e879a83..36cca37 100644
--- a/generator/states.c
+++ b/generator/states.c
@@ -92,7 +92,7 @@ send_from_wbuf (struct nbd_handle *h)
if (h->wlen == 0)
return 0; /* move to next state */
- r = h->sock->ops->send (h, h->sock, h->wbuf, h->wlen, 0);
+ r = h->sock->o...
2019 Jun 08
6
[PATCH libnbd 0/3] states: Use MSG_MORE to coalesce messages.
Appears to have a measurable benefit, see 3/3 for test results.
Rich.