[Libguestfs] [nbdkit PATCH 0/2] retry: add support for retrying .open

Eric Blake eblake at redhat.com
Fri Jan 27 20:41:21 UTC 2023


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 feasible to
implement.

Eric Blake (2):
  retry: Add in retry support during .open
  retry: Test previous patch

 tests/Makefile.am        |  2 +
 server/backend.c         |  7 ++-
 filters/retry/retry.c    | 98 ++++++++++++++++++++++++----------------
 tests/test-retry-open.sh | 85 ++++++++++++++++++++++++++++++++++
 4 files changed, 150 insertions(+), 42 deletions(-)
 create mode 100755 tests/test-retry-open.sh

-- 
2.39.1



More information about the Libguestfs mailing list