On 17 Feb 2016, at 18:10, Denis V. Lunev <d...@openvz.org> wrote: > Currently available NBD_CMD_TRIM command can not be used as the > specification explicitely says that "a client MUST NOT make any > assumptions about the contents of the export affected by this > [NBD_CMD_TRIM] command, until overwriting it again with `NBD_CMD_WRITE`"
Would a flag to NBD_CMD_TRIM that says "ensure the written data is zeroed" not be an easier solution than adding another very similar command? Or (cough) changing the spec? -- Alex Bligh