From: Brendan Cully Subject: Re: [PATCH] libxc: restore: reset I/O fd to flags to back to state caller passed us Date: Fri, 3 Sep 2010 11:30:21 -0700 Message-ID: <20100903183021.GD17663@kremvax.cs.ubc.ca> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Friday, 03 September 2010 at 17:07, Ian Campbell wrote: > # HG changeset patch > # User Ian Campbell > # Date 1283530025 -3600 > # Node ID f23b8e767b18bbeb867ec18e3db9bf8639da40b0 > # Parent 35cc5da0dd970c885fafaaf05bb3c1594dc68020 > libxc: restore: reset I/O fd to flags to back to state caller passed us > > In particular this causes us to turn O_NONBLOCK back off if we set it. > > The caller may continue to use the fd for it's own protocol needs and > may not be prepared to have it become non-blocking. > > This probably only effects Remus now after my previous patch to signal > the last checkpoint, since a regular migration will no longer set the > fd non-blocking. Although I don't think this currently does anything useful, it seems harmless. I'm applying and testing this and patch 3 of your previous series now.