From: Ian Jackson Subject: [PATCH] libxc: restore: reset I/O fd to flags to back to state caller passed us Date: Fri, 3 Sep 2010 18:54:56 +0100 Message-ID: <19585.13936.853262.136829@mariner.uk.xensource.com> References: 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.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: Brendan Cully , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("[Xen-devel] [PATCH] libxc: restore: reset I/O fd to flags to back to state caller passed us"): > 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. This looks very sensible but I'll wait for Brendan. Ian.