Displaying 2 results from an estimated 2 matches for "084398b".
Did you mean:
0843280
2019 Jun 08
0
[PATCH libnbd 1/3] lib: socket: Add .send flags parameter.
...truct socket *sock, const void *buf, size_t len);
+ struct socket *sock, const void *buf, size_t len, int flags);
bool (*pending) (struct socket *sock);
int (*get_fd) (struct socket *sock);
int (*close) (struct socket *sock);
diff --git a/lib/socket.c b/lib/socket.c
index 084398b..8555855 100644
--- a/lib/socket.c
+++ b/lib/socket.c
@@ -42,11 +42,11 @@ socket_recv (struct nbd_handle *h, struct socket *sock, void *buf, size_t len)
static ssize_t
socket_send (struct nbd_handle *h,
- struct socket *sock, const void *buf, size_t len)
+ struct socket...
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.