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

[Xen-devel] Re: backend block driver and domain migration blackout time

On 26/8/08 00:25, "Guzovsky, Eduard" <Eduard.Guzovsky@xxxxxxxxxxx> wrote:

> We are working on reducing blackout time during domain migrations in xen
> 3.1.0. We ran into a problem when backend block driver removes the
> backend device without waiting for the main kernel thread created by the
> driver to actually complete all outstanding io. This happens in the
> final stages of the migration process when guest domain is being
> destroyed.
> static int blkback_remove(struct xenbus_device *dev) {
> struct backend_info *be = dev->dev.driver_data;
>             ...
> if (kthread_remove(be))
> WPRINTK("BAD REMOVE REQUEST for %s\n", be->nodename);
>             ... 
> backend_release(be);
> return 0;
> }

I don't recognise the code above from any version of our Linux patchset. I'm
pretty sure that the races you mention, which might be present in the 3.1
Linux sparse tree, are fixed in our linux-2.6.18-xen.hg repository.

 -- Keir

Xen-devel mailing list



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