Re: [Nbd] Proposal to merge WRITE_ZEROES extension into master
- To: Eric Blake <eblake@...696...>
- Cc: "nbd-general@lists.sourceforge.net" <nbd-general@lists.sourceforge.net>
- Subject: Re: [Nbd] Proposal to merge WRITE_ZEROES extension into master
- From: Wouter Verhelst <w@...112...>
- Date: Wed, 14 Dec 2016 21:19:52 +0100
- Message-id: <20161214201952.7jd4b52ll6bsqmia@...3...>
- In-reply-to: <e6286a21-b7c6-9e32-c141-fb43b40166f1@...696...>
- References: <BC48D5D1-550F-4EE3-BC84-623AE864FB3A@...872...> <20161214181434.ko22eeq6vnwpakh2@...3...> <75E8140C-3000-4500-89A4-71A26040ADE4@...872...> <20161214185236.sghyvjbsfxa7esun@...3...> <e6286a21-b7c6-9e32-c141-fb43b40166f1@...696...>
On Wed, Dec 14, 2016 at 01:02:37PM -0600, Eric Blake wrote:
> On 12/14/2016 12:52 PM, Wouter Verhelst wrote:
> > On Wed, Dec 14, 2016 at 06:20:57PM +0000, Alex Bligh wrote:
> >> Wouter,
> >>> Did the implementation of WRITE_ZEROES encounter any issues with the spec
> >>> that we might want to fix up? Or did things work out as expected?
> >>
> >> It was fine in nbdserver, and also fine in gonbdserver. Admittedly I didn't
> >> have a 'real' client to test it against.
> >
> > Oh, I missed that part.
> >
> > Is there a client anywhere that is more than a test thing? If not, then perhaps
> > hold off on merging for now until that exists too.
>
> Qemu 2.8 (currently at -rc3, not officially released yet but should be
> soon, but none of the pending patches between -rc3 and the final release
> will affect nbd behavior) has both a client and a server implementation,
> and I'm also set up to turn on tracing in either the client or the
> server in order to trace what the other side sends over the wire.
That's good enough for me, thanks.
> An arbitrary client is a bit harder to test if you don't know how to provoke
> it into sending write zero commands, but qemu-io serves as a nice testbed
> that lets the qemu client send arbitrary commands to any server.
--
< ron> I mean, the main *practical* problem with C++, is there's like a dozen
people in the world who think they really understand all of its rules,
and pretty much all of them are just lying to themselves too.
-- #debian-devel, OFTC, 2016-02-12
Reply to: