From: Ian Jackson Subject: Re: [PATCH 08/19] libxc: suspend: Fix suspend event channel locking Date: Mon, 17 Mar 2014 11:35:36 +0000 Message-ID: <21286.56840.235097.830373@mariner.uk.xensource.com> References: <1393945016-1417-1-git-send-email-ian.jackson@eu.citrix.com> <1393945016-1417-9-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: rshriram@cs.ubc.ca Cc: "xen-devel@lists.xensource.com" , Ian Campbell , Stefano Stabellini , Lai Jiangshan List-Id: xen-devel@lists.xenproject.org Shriram Rajagopalan writes ("Re: [PATCH 08/19] libxc: suspend: Fix suspend event channel locking"): > On Tue, Mar 4, 2014 at 6:56 AM, Ian Jackson wrote: > > Use fcntl F_SETLK, rather than writing our pid into a "lock" file. > That way if we crash we don't leave the lockfile lying about. Callers > now need to keep the fd for our lockfile. (We don't use flock because > we don't want anyone who inherits this fd across fork to end up with a > handle onto the lock.) ... > Acked-by: Shriram Rajagopalan Thanks. > Slightly off-track: > If you got a chance to test this patch, were you able to live migrate more > than one > domain simultaneously? I don't see any reason why it shouldn't be possible > but I sort of vaguely remember some bug fix in the past, where we couldn't > start more than one live migration at the same time I will test that. Thanks, Ian.