From: Brendan Cully Subject: Re: [PATCH 3 of 4] libxc: provide notification of final checkpoint to restore end Date: Fri, 3 Sep 2010 12:58:47 -0700 Message-ID: <20100903195847.GE17663@kremvax.cs.ubc.ca> References: <684cfeffdb1b4bacd736.1283519176@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <684cfeffdb1b4bacd736.1283519176@localhost.localdomain> 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 14:06, Ian Campbell wrote: > # HG changeset patch > # User Ian Campbell > # Date 1283519033 -3600 > # Node ID 684cfeffdb1b4bacd736bc05ae26211cb91833df > # Parent de66ba50997cd8670fceffa7b01b50704f82edc7 > libxc: provide notification of final checkpoint to restore end > > When the restore code sees this notification it will restore the > currently in-progress checkpoint when it completes. > > This allows the restore end to finish up without waiting for a > spurious timeout on the receive fd and thereby avoids unnecessary > error logging in the case of a successful migration or restore. > > In the normal migration or restore case the first checkpoint is always > the last. For a rolling checkpoint (such as Remus) the notification is > currently unused but could be used in the future for example to > provide a controlled failover for reasons other than error > > Signed-off-by: Ian Campbell This looks sane and passes basic testing here. Acked-by: Brendan Cully