lkml.org 
[lkml]   [2011]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Nbd] [PATCH v2 2/2] nbd: map DISCARD requests to a new nbd request type
Paolo,

--On 8 September 2011 09:44:58 +0200 Paolo Bonzini <pbonzini@redhat.com>
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@steeleye.com>
> Cc: <nbd-general@lists.sf.net>
> Reviewed-by: Paul Clements <Paul.Clements@steeleye.com>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

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


\
 
 \ /
  Last update: 2011-09-08 10:53    [W:0.041 / U:0.712 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site