Displaying 2 results from an estimated 2 matches for "eac7f152".
2019 Oct 03
0
[nbdkit PATCH 4/4] server: Better documentation of .open ordering
...readonly)
{
static int handle;
- DEBUG_FUNCTION;
-
if (next (nxdata, readonly) == -1)
return NULL;
+ /* Debug after recursing, to show opposite order from .close */
+ DEBUG_FUNCTION;
+
return &handle;
}
diff --git a/tests/test-layers.c b/tests/test-layers.c
index 93b7770c..eac7f152 100644
--- a/tests/test-layers.c
+++ b/tests/test-layers.c
@@ -282,19 +282,20 @@ main (int argc, char *argv[])
"test_layers_plugin_config_complete",
NULL);
- /* open methods called in order. */
+ /* open methods called in outer-to-inner order, but thanks to next
+ * point...
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