Displaying 3 results from an estimated 3 matches for "7e5340c".
2019 Jun 18
0
[libnbd PATCH 2/8] states: Consolidate search for current reply's command
...tates-reply-structured.c | 61 ++++++-----------------------
generator/states-reply.c | 31 ++++++++++++++-
lib/internal.h | 2 +
4 files changed, 45 insertions(+), 64 deletions(-)
diff --git a/generator/states-reply-simple.c b/generator/states-reply-simple.c
index 7e5340c..12536e0 100644
--- a/generator/states-reply-simple.c
+++ b/generator/states-reply-simple.c
@@ -20,24 +20,15 @@
/* STATE MACHINE */ {
REPLY.SIMPLE_REPLY.START:
- struct command_in_flight *cmd;
+ struct command_in_flight *cmd = h->reply_cmd;
uint32_t error;
uint64_t handle;
error...
2019 Jun 04
3
[libnbd PATCH 0/2] Better handling of failed block_status callback
Rather than moving the connection to DEAD, we can just ignore further
contexts to the existing command handle, and fail the overall command
with the same errno as the failed callback.
Eric Blake (2):
states: Track cmd->error as errno, not wire value
api: Recover from block status callback failure
generator/generator | 5 ++-
generator/states-reply-simple.c | 2 +-
2019 Jun 18
17
[libnbd PATCH 0/8] Add nbd_pread_callback
I've mentioned this topic before (in fact, the idea of adding
NBD_CMD_FLAG_DF was first mentioned at [1]), but finally finished
enough of an implementation to feel confident in posting it.
I'd still like to add something under examples/ that uses the new API
to implement strict checking of a server's structured replies read
implementation (ensure that a server never sends data after