Re: [Nbd] [Qemu-devel] [RFC 1/1] nbd (specification): add NBD_CMD_WRITE_ZEROES command

2016-03-04 Thread Kevin Wolf
Am 04.03.2016 um 09:49 hat Wouter Verhelst geschrieben: > Hi folks, > > (sorry about the lateness of this reply, was busy for the last few weeks) > > On Thu, Feb 18, 2016 at 11:34:04AM +0300, Denis V. Lunev wrote: > > On 02/18/2016 11:09 AM, Alex Bligh wrote: > > > On 17 Feb 2016, at 18:10, Denis

Re: [Nbd] [Qemu-devel] [RFC 1/1] nbd (specification): add NBD_CMD_WRITE_ZEROES command

2016-03-04 Thread Wouter Verhelst
Hi folks, (sorry about the lateness of this reply, was busy for the last few weeks) On Thu, Feb 18, 2016 at 11:34:04AM +0300, Denis V. Lunev wrote: > On 02/18/2016 11:09 AM, Alex Bligh wrote: > > On 17 Feb 2016, at 18:10, Denis V. Lunev wrote: > > > >> Currently available NBD_CMD_TRIM command ca

Re: [Nbd] [Qemu-devel] [RFC 1/1] nbd (specification): add NBD_CMD_WRITE_ZEROES command

2016-02-18 Thread Eric Blake
On 02/18/2016 02:18 AM, Roman Kagan wrote: > On Wed, Feb 17, 2016 at 01:58:47PM -0700, Eric Blake wrote: >> On 02/17/2016 11:10 AM, Denis V. Lunev wrote: >>> @@ -446,6 +448,11 @@ The following request types exist: >>> about the contents of the export affected by this command, until >>> ov

Re: [Nbd] [Qemu-devel] [RFC 1/1] nbd (specification): add NBD_CMD_WRITE_ZEROES command

2016-02-18 Thread Denis V. Lunev
On 02/18/2016 03:14 PM, Daniel P. Berrange wrote: > On Wed, Feb 17, 2016 at 01:58:47PM -0700, Eric Blake wrote: >> On 02/17/2016 11:10 AM, Denis V. Lunev wrote: >>> This patch proposes a new command to reduce the amount of data passed >>> through the wire when it is known that the data is all zeroe

Re: [Nbd] [Qemu-devel] [RFC 1/1] nbd (specification): add NBD_CMD_WRITE_ZEROES command

2016-02-18 Thread Daniel P. Berrange
On Wed, Feb 17, 2016 at 01:58:47PM -0700, Eric Blake wrote: > On 02/17/2016 11:10 AM, Denis V. Lunev wrote: > > This patch proposes a new command to reduce the amount of data passed > > through the wire when it is known that the data is all zeroes. This > > functionality is generally useful for mir

Re: [Nbd] [Qemu-devel] [RFC 1/1] nbd (specification): add NBD_CMD_WRITE_ZEROES command

2016-02-18 Thread Denis V. Lunev
On 02/18/2016 12:18 PM, Roman Kagan wrote: > On Wed, Feb 17, 2016 at 01:58:47PM -0700, Eric Blake wrote: >> On 02/17/2016 11:10 AM, Denis V. Lunev wrote: >>> @@ -446,6 +448,11 @@ The following request types exist: >>> about the contents of the export affected by this command, until >>>

Re: [Nbd] [Qemu-devel] [RFC 1/1] nbd (specification): add NBD_CMD_WRITE_ZEROES command

2016-02-18 Thread Roman Kagan
On Wed, Feb 17, 2016 at 01:58:47PM -0700, Eric Blake wrote: > On 02/17/2016 11:10 AM, Denis V. Lunev wrote: > > @@ -446,6 +448,11 @@ The following request types exist: > > about the contents of the export affected by this command, until > > overwriting it again with `NBD_CMD_WRITE`. > >

Re: [Nbd] [Qemu-devel] [RFC 1/1] nbd (specification): add NBD_CMD_WRITE_ZEROES command

2016-02-18 Thread Denis V. Lunev
On 02/18/2016 11:09 AM, Alex Bligh wrote: > On 17 Feb 2016, at 18:10, Denis V. Lunev 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 >> [N

Re: [Nbd] [Qemu-devel] [RFC 1/1] nbd (specification): add NBD_CMD_WRITE_ZEROES command

2016-02-18 Thread Denis V. Lunev
On 02/18/2016 07:46 AM, Denis V. Lunev wrote: > On 02/17/2016 11:58 PM, Eric Blake wrote: >> On 02/17/2016 11:10 AM, Denis V. Lunev wrote: >>> This patch proposes a new command to reduce the amount of data passed >>> through the wire when it is known that the data is all zeroes. This >>> functional

Re: [Nbd] [Qemu-devel] [RFC 1/1] nbd (specification): add NBD_CMD_WRITE_ZEROES command

2016-02-18 Thread Alex Bligh
On 17 Feb 2016, at 18:10, Denis V. Lunev 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

Re: [Nbd] [Qemu-devel] [RFC 1/1] nbd (specification): add NBD_CMD_WRITE_ZEROES command

2016-02-17 Thread Denis V. Lunev
On 02/17/2016 11:58 PM, Eric Blake wrote: > On 02/17/2016 11:10 AM, Denis V. Lunev wrote: >> This patch proposes a new command to reduce the amount of data passed >> through the wire when it is known that the data is all zeroes. This >> functionality is generally useful for mirroring or backup oper

Re: [Nbd] [Qemu-devel] [RFC 1/1] nbd (specification): add NBD_CMD_WRITE_ZEROES command

2016-02-17 Thread Eric Blake
On 02/17/2016 11:10 AM, Denis V. Lunev wrote: > This patch proposes a new command to reduce the amount of data passed > through the wire when it is known that the data is all zeroes. This > functionality is generally useful for mirroring or backup operations. > > Currently available NBD_CMD_TRIM c