Displaying 3 results from an estimated 3 matches for "test_layers_filter_ready_to_serve".
2019 Oct 11
0
[PATCH NOT WORKING nbdkit v2 1/2] server: Add .ready_to_serve plugin method.
...void *nxdata)
{
DEBUG_FUNCTION;
return next (nxdata);
@@ -74,6 +74,14 @@ test_layers_filter_config_complete (nbdkit_next_config_complete *next,
#define test_layers_filter_config_help \
"test_layers_" layer "_config_help"
+static int
+test_layers_filter_ready_to_serve (nbdkit_next_ready_to_serve *next,
+ void *nxdata)
+{
+ DEBUG_FUNCTION;
+ return next (nxdata);
+}
+
static void *
test_layers_filter_open (nbdkit_next_open *next, void *nxdata, int readonly)
{
@@ -267,6 +275,7 @@ static struct nbdkit_filter filter = {
.c...
2019 Oct 11
3
[PATCH NOT WORKING nbdkit v2 0/2] vddk: Restructure plugin to allow greater parallelism.
This is my second attempt at this. The first version (also not
working) was here:
https://www.redhat.com/archives/libguestfs/2019-October/msg00062.html
In part 1/2 I introduce a new .ready_to_serve plugin method which is
called after forking and just before accepting any client connection.
The idea would be that plugins could start background threads here.
However this doesn't work well in
2019 Oct 11
2
Re: [PATCH NOT WORKING nbdkit v2 1/2] server: Add .ready_to_serve plugin method.
...DEBUG_FUNCTION;
> return next (nxdata);
> @@ -74,6 +74,14 @@ test_layers_filter_config_complete (nbdkit_next_config_complete *next,
> #define test_layers_filter_config_help \
> "test_layers_" layer "_config_help"
>
> +static int
> +test_layers_filter_ready_to_serve (nbdkit_next_ready_to_serve *next,
> + void *nxdata)
Indentation looks off.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org