On Fri, Aug 12, 2022 at 04:03:58PM -0500, Eric Blake wrote:
I found some more 1-line hacks to nbdkit that can produce a subtly
buggy server that is still easy enough to work around in libnbd.
Eric Blake (3):
states: Refactor where interrupted reply state is stored
states: Skip server replies to unknown command cookies
states: Tolerate simple reply to structured read request
I've now pushed this series as 32af175..b31e7ba
I'm still thinking about adding a strictness knob to let us decide
whether to try and cope with servers or fail as fast as possible on
the first non-compliance; but whether that belongs as a new bit to the
existing nbd_set_strict_mode (which to date has controlled client
strictness, not our response to the server) or a new API, is still
worth thinking about.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization:
qemu.org |
libvirt.org