Port-xen archive

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

Re: locked hotplug scripts



On Wed, Mar 30, 2016 at 12:19:57AM +0200, Christoph Badura wrote:
> DomU creation with xl with file backed disks fails in vnd allocation
> because xl runs the hotplug scripts in parallel.  C.f. port-xen/50659 and
> pkg/51008.
> 
> Would people please test the attached scripts by installing them in the
> appropriate xen/scripts directory?  I'd like to commit them as soonish.
> 
> I've tested them locally and they work for me.

I think you don't need to lock at all when unconfiguring (case 6).
In the 2) case, I think you only need locking in the file) case.
The xenstore-write probably can be done unlocked.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index