From: Samuel Thibault Subject: Re: [PATCH v2] tools/ocaml/xb: Correct calculations of data/space the ring Date: Tue, 10 Nov 2015 16:06:13 +0100 Message-ID: <20151110150613.GC3067@var.bordeaux.inria.fr> References: <1447152404-3672-1-git-send-email-andrew.cooper3@citrix.com> <20151110145917.GC28720@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20151110145917.GC28720@zion.uk.xensource.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: Wei Liu Cc: Andrew Cooper , David Scott , Ian Jackson , Ian Campbell , Xen-devel List-Id: xen-devel@lists.xenproject.org Wei Liu, on Tue 10 Nov 2015 14:59:17 +0000, wrote: > I think I will port this patch to cxenstored at some point. As far as I > can tell cxenstored's data / space calculation is bogus in the same way. The low-level function return short reads and writes, yes, but that is handled at a higher level: initialize_fds sets timeout to 0 when there is still room (domain_can_read() or domain_can_write()). So it will improve performance a little bit, but not fix actual bugs. Samuel