Displaying 2 results from an estimated 2 matches for "libnbd_cmd_flag_foo".
2020 Sep 17
1
Re: [libnbd PATCH] api: Add LIBNBD_SHUTDOWN_IMMEDIATE flag
...tside
the range of cmd flags). Once we release with a value, it becomes
locked into the API; but by intentionally picking something other than
0x1, we still leave room for ABI to take command flags at a later date,
with a little less hassle than having to translate from
LIBNBD_SHUTDOWN_FOO to LIBNBD_CMD_FLAG_FOO.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org
2020 Sep 11
3
[libnbd PATCH] api: Add LIBNBD_SHUTDOWN_IMMEDIATE flag
As mentioned in commits 176fc4ea and 609c25f0, our original plan in
adding a flags argument to nbd_shutdown was to let us specify
different behaviors at the libnbd level, rather than NBD protocol
flags (for that, the user has nbd_aio_disconnect). But when we later
parameterized OFlags to accept various bitmasks (commit f891340b), we
failed to mark nbd_shutdown as using a different bitmask than