On 11/05/2016 16:55, Alex Bligh wrote: >> > Then I think I will propose a doc patch to the extension-info branch >> > that adds new INFO items for NBD_INFO_TRIM_SIZE and >> > NBD_INFO_WRITE_ZERO_SIZE (if requested by client and replied by server, >> > then this can be larger than the normal maximum size in >> > NBD_INFO_BLOCK_SIZE; if either side doesn't request the info, then >> > assume any maximum in NBD_INFO_BLOCK_SIZE applies, otherwise UINT32_MAX; >> > and the two infos are separate items because NBD_FLAG_SEND_TRIM and >> > NBD_FLAG_SEND_WRITE_ZEROES are orthogonally optional). > mmmm ... > > at this rate you'd be better with a list of command / maximum size > tuples!
Not sure if serious or not, but anyway I think enumerating the items individually should be enough. It's not like commands grow on trees. :) Paolo
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________ Nbd-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nbd-general
