From: Ian Jackson Subject: Re: [PATCH 3/3] libxl: datacopier: Avoid theoretical eof/POLLHUP race Date: Tue, 7 Apr 2015 13:26:21 +0100 Message-ID: <21795.52461.544590.75189@mariner.uk.xensource.com> References: <21789.23119.369227.882060@mariner.uk.xensource.com> <1427987045-23435-3-git-send-email-ian.jackson@eu.citrix.com> <21789.28259.607993.677511@mariner.uk.xensource.com> <5523BC14.7000604@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <5523BC14.7000604@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: Roger Pau =?iso-8859-1?Q?Monn=E9?= Cc: Andrew Cooper , xen-devel@lists.xensource.com, Wei Liu , Ian Campbell , Ross Lagerwall List-Id: xen-devel@lists.xenproject.org Roger Pau Monn=E9 writes ("Re: [PATCH 3/3] libxl: datacopier: Avoid theoret= ical eof/POLLHUP race"): > I don't seem to be able to trigger the issue with the debug patch = > applied. AFAICT pygrub is blocked (probably because the output buffer = > is full) and total execution greatly exceeds 15s seconds. Here is the = > full output: For reference, here is the relevant bits of the IRC conversation I just had with Roger: 12:53 Maybe replace the bootloader with a script which does sle= ep = 1; echo hi; sleep 1; exit 0 13:05 Diziet: OK, with the dummy script I'm able to trigger the is= sue: = http://pastebin.com/raw.php?i=3DuUeJviV1 13:05 now I'm going to try with your wip series 13:15 Diziet: patch 3/3 seems to solve the issue, here's the outpu= t of = the debug patch appplied on top of = wip.datacopier-pollhup-fixes.v1 and with the dummy pygrub = script: http://pastebin.com/raw.php?i=3DcQqsFuf3 13:17 royger: Marvellous, those are the outputs I'm expecting. Th= ank = you very much. 13:18 So, I will repost these with your Tested-by on the final pat= ch, = if that's OK. 13:18 Diziet: sure :) Ian.