Re: [Nbd] [RESEND][PATCH 0/5] nbd improvements
From: Christoph Hellwig
Date: Thu Sep 15 2016 - 07:46:21 EST
On Thu, Sep 15, 2016 at 12:43:35PM +0100, Alex Bligh wrote:
> Sure, it's at:
>
> https://github.com/yoe/nbd/blob/master/doc/proto.md#ordering-of-messages-and-writes
>
> and that link takes you to the specific section.
>
> The treatment of FLUSH and FUA is meant to mirror exactly the
> linux block layer (or rather how the linux block layer was a few
> years ago). I even asked on LKML to verify a few points.
Linux never expected ordering on the wire. Before 2010 we had barriers
in the kernel that provided ordering to the caller, but we never
required it from the protocol / hardware.