I'm getting closer to posting v2 of my 64-bit NBD extension patches. On the way, I noticed that libnbd was not obeying block-size maximum constraints, which becomes all the more important when we want to allow for even larger buffer sizes for servers that support it.
Eric Blake (2): api: Add LIBNBD_STRICT_PAYLOAD to honor qemu 32M write limit tests: Test server response to oversize requests lib/internal.h | 4 + generator/API.ml | 39 +++-- generator/states-newstyle-opt-export-name.c | 1 + generator/states-newstyle-opt-go.c | 1 + generator/states-oldstyle.c | 1 + lib/flags.c | 25 ++++ lib/rw.c | 8 +- tests/Makefile.am | 15 +- tests/errors-client-oversize.c | 18 ++- tests/errors-server-oversize.c | 151 ++++++++++++++++++++ tests/errors-server-unaligned.c | 2 + .gitignore | 1 + 12 files changed, 255 insertions(+), 11 deletions(-) create mode 100644 tests/errors-server-oversize.c -- 2.38.1 _______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://listman.redhat.com/mailman/listinfo/libguestfs