[Libguestfs] [libnbd PATCH 0/2] Better handling of failed block_status callback
Eric Blake
eblake at redhat.com
Tue Jun 4 17:12:07 UTC 2019
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 +-
generator/states-reply-structured.c | 61 ++++++++++++++-------------
interop/dirty-bitmap.c | 65 +++++++++++++++++++++++------
lib/aio.c | 1 -
lib/internal.h | 2 +-
6 files changed, 91 insertions(+), 45 deletions(-)
--
2.20.1
More information about the Libguestfs
mailing list