From: Ian Campbell Subject: Re: [xen-unstable test] 13461: regressions - FAIL Date: Thu, 5 Jul 2012 12:32:30 +0100 Message-ID: <1341487950.16599.53.camel@zakaz.uk.xensource.com> References: <1341467373.14447.9.camel@dagon.hellion.org.uk> <20120705092834.GE13884@redhat.com> <20469.28420.49684.132247@mariner.uk.xensource.com> <1341485867.16599.40.camel@zakaz.uk.xensource.com> <20469.30895.649674.304299@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20469.30895.649674.304299@mariner.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: Ian Jackson Cc: Zhigang Wang , "xen-devel@lists.xensource.com" , "Daniel P. Berrange" List-Id: xen-devel@lists.xenproject.org On Thu, 2012-07-05 at 12:21 +0100, Ian Jackson wrote: > Ian Campbell writes ("Re: [Xen-devel] [xen-unstable test] 13461: regressions - FAIL"): > > Does stating $_lockfile before and after the flock, in addition to > > comparing both with $_lockfd, close the race you are worried about? > > The correct answer to this question is to present a proof that what > I'm doing is correct. I was actually just speculating on ways to avoid $(PERL) rather than questioning the algorithm but as Roger and you have pointed out there is no such concern in this particular file. The analysis is still useful though. [...] > This demonstrates, I think, that the design is correct. I will do > some testing on the implementation to try to check that it implements > the design. I think so too. Ian.