search for: 51f0144

Displaying 2 results from an estimated 2 matches for "51f0144".

Did you mean: 51144
2019 Jun 21
0
[libnbd PATCH v2 5/5] states: Add DF flag support for pread
...AL, "server does not support the DF flag"); + return -1; + } + + return nbd_internal_command_common (h, flags, NBD_CMD_READ, offset, count, buf, &cb); } diff --git a/python/t/405-pread-structured.py b/python/t/405-pread-structured.py index 51f0144..1bfa162 100644 --- a/python/t/405-pread-structured.py +++ b/python/t/405-pread-structured.py @@ -35,3 +35,9 @@ buf = h.pread_structured (512, 0, 42, f) print ("%r" % buf) assert buf == expected + +buf = h.pread_structured (512, 0, 42, f, nbd.CMD_FLAG_DF) + +print ("%r" % buf...
2019 Jun 21
9
[libnbd PATCH v2 0/5] nbd_pread_structured
Since v1: - rebase to applied patches - split out support for Int in callbacks - sort of test that callbacks work in OCaml (see comment in patch 5) - rename API to nbd_pread_structured - expose error as explicit parameter to callback Eric Blake (5): generator: Allow Int in callbacks states: Wire in a read callback states: Add nbd_pread_structured API states: Add tests for