Paolo,--On 8 September 2011 09:44:58 +0200 Paolo Bonzini <pbonzini@...696...> wrote:
When the feature is enabled, set QUEUE_FLAG_DISCARD and transmit those as NBD_CMD_TRIM requests. I used "trim" instead of "discard" to avoid confusion with the existing NBD_CMD_DISC that is used for disconnect. Cc: Paul Clements <Paul.Clements@...124...> Cc: <nbd-general@...72...> Reviewed-by: Paul Clements <Paul.Clements@...124...> Signed-off-by: Paolo Bonzini <pbonzini@...696...>
Do you have a patch for doc/proto.txt in the NBD protocol, or indeed a patch for the server to implement this? -- Alex Bligh