search for: nbd_is_init_zero

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

2020 Feb 10
2
Re: [libnbd PATCH 1/1] generator: Add support for NBD_INFO_INIT_STATE extension
The idea and patch is fine, but I wonder if it would be more useful to callers if it was exposed as two separate APIs. Callers would then not need to deal with masking out unknown flags, and it works more like the other is_* / can_* ("flag calls") we already have. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and
2020 Feb 10
0
Re: [libnbd PATCH 1/1] generator: Add support for NBD_INFO_INIT_STATE extension
...ld then > not need to deal with masking out unknown flags, and it works more > like the other is_* / can_* ("flag calls") we already have. Fair point, especially since I exposed it in nbdkit as two callbacks for setting the bits. Naming suggestions? Maybe nbd_is_init_sparse and nbd_is_init_zero ? -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org