Closed gaborigloi closed 6 years ago
All the quicktests passed with a GFS2 SR
The relevant change in the protocol: https://lists.debian.org/nbd/2018/08/msg00005.html
What testing have you done of the change?
I have run the ocaml quicktests that include copying / exporting an empty VDI, a VDI after a random number of random writes, and a VDI filled with random data. These tests verify that the checksum of the result is the same.
The protocol has been changed, so that now in the response for NBD_REPLY_TYPE_BLOCK_STATUS, the last extent can extend beyond the requested area. The old code would fail with an assertion error in this case. I've fixed the code to correctly deal with this corner case.