Displaying 4 results from an estimated 4 matches for "0c4151a".
2020 Sep 11
0
[libnbd PATCH v2 4/5] api: Add STRICT_FLAGS to set_strict_mode
...SET_CALLBACK_TO_NULL (*completion);
- return nbd_internal_command_common (h, 0, NBD_CMD_CACHE, offset, count,
+ return nbd_internal_command_common (h, flags, NBD_CMD_CACHE, offset, count,
NULL, &cb);
}
diff --git a/tests/errors.c b/tests/errors.c
index 0c4151a..0cfcac5 100644
--- a/tests/errors.c
+++ b/tests/errors.c
@@ -84,7 +84,7 @@ main (int argc, char *argv[])
* which delays responding to writes until a witness file no longer
* exists.
*/
- const char *cmd[] = { "nbdkit", "-s", "--exit-with-parent", "sh...
2020 Sep 17
2
Re: [libnbd PATCH v2 4/5] api: Add STRICT_FLAGS to set_strict_mode
...> - return nbd_internal_command_common (h, 0, NBD_CMD_CACHE, offset, count,
> + return nbd_internal_command_common (h, flags, NBD_CMD_CACHE, offset, count,
> NULL, &cb);
> }
>
> diff --git a/tests/errors.c b/tests/errors.c
> index 0c4151a..0cfcac5 100644
> --- a/tests/errors.c
> +++ b/tests/errors.c
> @@ -84,7 +84,7 @@ main (int argc, char *argv[])
> * which delays responding to writes until a witness file no longer
> * exists.
> */
> - const char *cmd[] = { "nbdkit", "-s", "...
2020 Sep 11
0
[libnbd PATCH v2 3/5] api: Add nbd_set_strict_mode
..."either you did not call nbd_add_meta_context before "
+ "connecting or the server does not support it");
+ return -1;
+ }
}
if (count == 0) { /* NBD protocol forbids this. */
diff --git a/tests/errors.c b/tests/errors.c
index 8166429..0c4151a 100644
--- a/tests/errors.c
+++ b/tests/errors.c
@@ -86,6 +86,7 @@ main (int argc, char *argv[])
*/
const char *cmd[] = { "nbdkit", "-s", "--exit-with-parent", "sh",
script, NULL };
+ uint32_t strict;
progname = argv[0];...
2020 Sep 11
10
[libnbd PATCH v2 0/5] Add knobs for client- vs. server-side validation
In v2:
- now based on my proposal to add LIBNBD_SHUTDOWN_IMMEDIATE
- four flags instead of two: STRICT_FLAGS is new (patch 4),
and STRICT_BOUNDS is separate from STRICT_ZERO_SIZE (patch 5)
- various refactorings for more shared code and less duplication
Eric Blake (5):
api: Add xxx_MASK constant for each Flags type
generator: Refactor filtering of accepted OFlags
api: Add