From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Thibault Subject: Re: [PATCH] oxenstored: fix short-write issue Date: Tue, 27 Oct 2015 18:26:29 +0100 Message-ID: <20151027172629.GP2483@var.bordeaux.inria.fr> References: <1445965809-5144-1-git-send-email-wei.liu2@citrix.com> <562FB2A3.8070603@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Zr811-0003bV-DS for xen-devel@lists.xenproject.org; Tue, 27 Oct 2015 17:26:31 +0000 Content-Disposition: inline In-Reply-To: <562FB2A3.8070603@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: Andrew Cooper Cc: Xen-devel , David Scott , Wei Liu , Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org Andrew Cooper, le Tue 27 Oct 2015 17:21:39 +0000, a =E9crit : > The correct behaviour would be for Xs_ring.write to return the actual > number of bytes it put into the ring, even if this is shorter than len. That is already what it does. Samuel