Displaying 3 results from an estimated 3 matches for "6bd8861".
Did you mean:
6.8861
2018 Dec 07
0
[nbdkit PATCH 6/5] nbd: More debug details
...bout
messages being forwarded on to the remote server.
Signed-off-by: Eric Blake <eblake@redhat.com>
---
plugins/nbd/nbd.c | 8 +++++---
plugins/nbd/Makefile.am | 3 ++-
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/plugins/nbd/nbd.c b/plugins/nbd/nbd.c
index 672f35b..6bd8861 100644
--- a/plugins/nbd/nbd.c
+++ b/plugins/nbd/nbd.c
@@ -267,8 +267,9 @@ nbd_request_raw (struct handle *h, uint16_t flags, uint16_t type,
int r;
pthread_mutex_lock (&h->write_lock);
- nbdkit_debug ("sending request with type %d and cookie %#" PRIx64, type,
-...
2018 Dec 07
1
Re: [nbdkit PATCH 6/5] nbd: More debug details
...e server.
>
> Signed-off-by: Eric Blake <eblake@redhat.com>
> ---
> plugins/nbd/nbd.c | 8 +++++---
> plugins/nbd/Makefile.am | 3 ++-
> 2 files changed, 7 insertions(+), 4 deletions(-)
>
> diff --git a/plugins/nbd/nbd.c b/plugins/nbd/nbd.c
> index 672f35b..6bd8861 100644
> --- a/plugins/nbd/nbd.c
> +++ b/plugins/nbd/nbd.c
> @@ -267,8 +267,9 @@ nbd_request_raw (struct handle *h, uint16_t flags, uint16_t type,
> int r;
>
> pthread_mutex_lock (&h->write_lock);
> - nbdkit_debug ("sending request with type %d and cookie %#...
2018 Dec 06
10
[PATCH nbdkit 0/5] protocol: Generate map functions from NBD protocol flags to printable strings.
With some crufty sed scripts we can generate functions that map from
NBD protocol flags (eg. NBD_CMD_READ) to strings ("NBD_CMD_READ").
This works on GNU sed and with FreeBSD, also with GNU sed's --posix
option, so I guess the sed code is POSIX-compatible.
Rich.