Displaying 4 results from an estimated 4 matches for "e879a83".
Did you mean:
387983
2019 Jun 09
1
Re: [PATCH libnbd 2/3] states: Add handle h->wflags field.
...passed
through to the socket layer if it supports them. The flags are reset
automatically when we move to another state.
---
generator/states.c | 10 +++++++---
lib/internal.h | 1 +
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/generator/states.c b/generator/states.c
index e879a83..b0dab83 100644
--- a/generator/states.c
+++ b/generator/states.c
@@ -91,8 +91,8 @@ send_from_wbuf (struct nbd_handle *h)
ssize_t r;
if (h->wlen == 0)
- return 0; /* move to next state */
- r = h->sock->ops->send (h, h->sock, h->wbuf, h->wlen, 0);...
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.
2019 Jun 08
0
[PATCH libnbd 2/3] states: Add handle h->wflags field.
...ch are passed
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->s...
2019 Jun 08
0
[PATCH libnbd 1/3] lib: socket: Add .send flags parameter.
...on flags such as MSG_MORE for socket layers which can handle
this.
---
generator/states.c | 2 +-
lib/crypto.c | 2 +-
lib/internal.h | 2 +-
lib/socket.c | 4 ++--
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/generator/states.c b/generator/states.c
index 145e8c1..e879a83 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);
+ r = h->sock->ops-...