search for: ce344d7

Displaying 2 results from an estimated 2 matches for "ce344d7".

2019 May 28
0
[libnbd PATCH 2/4] api: Rearrange flags argument to block_status
...quot; % entries) assert entries == [ 512, 3, 16384, 2] + +h.block_status (1024, 32256, 42, f, nbd.CMD_FLAG_REQ_ONE) +print ("entries = %r" % entries) +assert entries == [ 512, 3] diff --git a/tests/meta-base-allocation.c b/tests/meta-base-allocation.c index 5c37e45..ce344d7 100644 --- a/tests/meta-base-allocation.c +++ b/tests/meta-base-allocation.c @@ -98,22 +98,20 @@ main (int argc, char *argv[]) /* Read the block status. */ id = 1; - if (nbd_block_status (nbd, 65536, 0, 0, &id, - check_extent) == -1) { + if (nbd_block_status (nbd...
2019 May 28
6
[RFC libnbd PATCH 0/4] Add CMD_FLAG_DF support
RFC because this is an API break, but we haven't declared stable API yet. If we like it, I'm working on using libnbd to implement the nbdkit-nbd plugin; knowing whether it is API version 0.1 or 0.2 will be useful. I also dabbled with allowing optional parameters in python, although my OCaml is weak enough that there may be cleaner ways to approach that. Eric Blake (4): api: Add flags