Displaying 2 results from an estimated 2 matches for "64267bfe".
2019 Oct 03
0
[nbdkit PATCH 3/4] server: Close backends if a filter's .open fails
...by always running the close chain regardless of whether the
plugin is open.
Signed-off-by: Eric Blake <eblake@redhat.com>
---
server/backend.c | 5 ++++-
server/connections.c | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/server/backend.c b/server/backend.c
index 64267bfe..5cbbe2c1 100644
--- a/server/backend.c
+++ b/server/backend.c
@@ -186,8 +186,11 @@ backend_open (struct backend *b, struct connection *conn, int readonly)
if (b->i) /* A filter must not succeed unless its backend did also */
assert (conn->handles[b->i - 1].handle);
}
- els...
2019 Oct 03
7
[nbdkit PATCH 0/4] More work with retry safety
I'm still working on another set of patches to have reopen call
.finalize/.prepare (so that another filter can safely appear between
retry and the plugin), but for tonight, these are the patches I think
are ready to go.
Eric Blake (4):
retry: Handle can_fua and can_fast_zero changes
tests: Test retry with different fua/fast-zero flags
server: Close backends if a filter's .open fails