[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Re: Xend transaction reduction breaks migration

On Wed, Nov 14, 2007 at 11:44:42PM +0000, Keir Fraser wrote:
> Hey Daniel,
> It turns out that your changeset 16260 in xen-unstable breaks our localhost
> non-live migration tests. What happens is that randomly (but fairly often)
> xend will throw an assertion at line 'assert console_port' in
> XendCheckpoint.py. This is in the domain_restore_fd context, so result is
> that the restorer dies and then of course the saver fails soon after since
> the migration socket goes away.
> Any idea how your patch could cause this rather bizarre behaviour? I haven't
> worked it out myself, though I'm 99% sure it *is* that changeset that has
> caused this regression (based on tests with the changeset reverted).

Basically, instead of doing many small transactions, my change made some stuff
all happen in one large transaction. Oddly though, I tried to be careful so
that I only changed the codepath for the 'xm list' operation (well the SEXPR
call to the list operation). Other operations like create, save, restore
ought to be left using fine grained transactions as before.

|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.