Displaying 2 results from an estimated 2 matches for "16c6584".
Did you mean:
136584
2017 Jan 20
0
[nbdkit PATCH 2/5] protocol: Validate request flags
Reject rather than silently ignoring unknown client request flags.
Signed-off-by: Eric Blake <eblake@redhat.com>
---
src/connections.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/connections.c b/src/connections.c
index 16c6584..44b7530 100644
--- a/src/connections.c
+++ b/src/connections.c
@@ -546,6 +546,13 @@ validate_request (struct connection *conn,
return 0;
}
+ /* Validate flags */
+ if (flags & ~NBD_CMD_FLAG_FUA) {
+ nbdkit_error ("invalid request: unknown flag (0x%x)", flags);
+ *err...
2017 Jan 20
7
[nbdkit PATCH 0/5] Add WRITE_ZEROES support
The upstream protocol recently promoted NBD_CMD_WRITE_ZEROES from
experimental to a documented extension. Exposing support for this
allows plugin writers to create sparse files when driven by a
client that knows how to use the extension; meanwhile, even if a
plugin does not support this extension, the server benefits from
less network traffic from the client.
Eric Blake (5):
protocol: Support