From: Wei Liu Subject: Re: [PATCH MINI-OS v3 2/2] xenbus: workaround oxenstored short-write Date: Mon, 16 Nov 2015 11:47:26 +0000 Message-ID: <20151116114726.GD4673@zion.uk.xensource.com> References: <1445960609-16977-1-git-send-email-wei.liu2@citrix.com> <1445960609-16977-3-git-send-email-wei.liu2@citrix.com> <20151027154740.GF2483@var.bordeaux.inria.fr> <1447673414.27871.19.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <1447673414.27871.19.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: minios-devel@lists.xenproject.org, Samuel Thibault , Wei Liu , Ian Jackson , Xen-devel List-Id: xen-devel@lists.xenproject.org On Mon, Nov 16, 2015 at 11:30:14AM +0000, Ian Campbell wrote: > On Tue, 2015-10-27 at 16:47 +0100, Samuel Thibault wrote: > > Wei Liu, le Tue 27 Oct 2015 15:43:29 +0000, a =E9crit : > > > Oxenstored has a behaviour that it only writes a contiguous piece of > > > data. When it writes across ring boundary it will return a short-write > > > while there is still room. That leads to mini-os stalling when it sees > > > there is not enough data in the ring. > > > = > > > Given that oxenstored is the default xenstored implementation we think > > > it would be useful to workaround this for the benefit of running mini- > > > os > > > (and unikernel based on it) on any Xen installation. > > > = > > > Signed-off-by: Wei Liu > > = > > As discussed in the previous thread, this is rather a workaround. > = > Given that I'm in the process of applying "tools/ocaml/xb: Correct > calculations of data/space the ring" which I think is the real fix here am > unsure if we still want to take this workaround. > = > Any thoughts? > = We should apply it for master but not 4.6 branch. Because other people will grab mini-os and run it on older version of oxenstored. Wei.