Displaying 3 results from an estimated 3 matches for "next_handle".
Did you mean:
next_phandle
2023 Jan 27
2
[nbdkit PATCH 1/2] retry: Add in retry support during .open
...not return a handle unless do_retry()
+ * works, as the caller's next action will be calling .get_size
+ * and similar probe functions which we do not bother to wire up
+ * into retry logic because they only need to be used right after
+ * connecting.
+ */
+ nbdkit_next *next_handle = NULL;
+ int err = ESHUTDOWN;
+
+ while (! h->open && do_retry (h, &data, &next_handle, "open", &err))
+ ;
+
+ if (! h->open) {
+ free (h->exportname);
+ free (h);
+ return NULL;
+ }
+ }
+ return h;
+}
+
+static void
+retry_c...
2023 Jan 28
1
[nbdkit PATCH 1/2] retry: Add in retry support during .open
..._retry()
> + * works, as the caller's next action will be calling .get_size
> + * and similar probe functions which we do not bother to wire up
> + * into retry logic because they only need to be used right after
> + * connecting.
> + */
> + nbdkit_next *next_handle = NULL;
> + int err = ESHUTDOWN;
> +
> + while (! h->open && do_retry (h, &data, &next_handle, "open", &err))
> + ;
> +
> + if (! h->open) {
> + free (h->exportname);
> + free (h);
> + return NULL;
> +...
2023 Jan 27
2
[nbdkit PATCH 0/2] retry: add support for retrying .open
In https://bugzilla.redhat.com/show_bug.cgi?id=1841820, it was pointed
out that the retry filter not retrying .open means that an ssh
connection (such as in a vmx+ssh v2v conversion) fails when the ssh
connection itself cannot be retried. A year ago, this was an inherent
limitation of our retry implementation; but in the meantime, my work
to allow filters to open independent backends has made it