search for: 329fbea

Displaying 3 results from an estimated 3 matches for "329fbea".

2019 Jun 27
0
Re: [libnbd PATCH] generator: Add support for namespace constants
..._%s \"%s\"\n" ns_upper ns; + pr "#define LIBNBD_NAMESPACE_%s \"%s:\"\n" ns_upper ns; pr "\n"; pr "/* \"%s\" namespace contexts */\n" ns; List.iter ( diff --git i/interop/dirty-bitmap.c w/interop/dirty-bitmap.c index 61661fa..329fbea 100644 --- i/interop/dirty-bitmap.c +++ w/interop/dirty-bitmap.c @@ -30,7 +30,6 @@ static const char *unixsocket; static const char *bitmap; -static const char *base_allocation = "base:allocation"; struct data { bool req_one; /* input: true if req_one was passed to request */ @...
2019 Jun 27
1
[libnbd PATCH] block-status: Make callback usage consistent with pread_structured
...;server sent unexpected meta context ID %" PRIu32, - context_id); - } + debug (h, "server sent unexpected meta context ID %" PRIu32, + context_id); SET_NEXT_STATE(%FINISH); } diff --git a/interop/dirty-bitmap.c b/interop/dirty-bitmap.c index 329fbea..a19fb64 100644 --- a/interop/dirty-bitmap.c +++ b/interop/dirty-bitmap.c @@ -41,7 +41,7 @@ struct data { static int cb (void *opaque, const char *metacontext, uint64_t offset, - uint32_t *entries, size_t len) + uint32_t *entries, size_t len, int *error) { struct data *data = opaque;...
2019 Jun 27
3
[libnbd PATCH] generator: Add support for namespace constants
This just defines the namespace, its contexts and related constants and the only supported one is currently base:allocation. The names of the constants are not very future-proof, but shorter than LIBNBD_META_NS_CONTEXT_BASE_ALLOCATION or similar. Currently the output looks like this: /* "base" namespace */ /* "base" namespace contexts */ /* "base:allocation"