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

Re: [dm-devel] [PATCH] improve atomicity of device creation



On Tue, 2007-12-11 at 17:03 +0000, Alasdair G Kergon wrote:

> On Tue, Dec 11, 2007 at 04:42:13PM +0000, Scott James Remnant wrote:
> > What is that agreed design?
>  
> In simple terms:
> 
> - udev takes over full responsibility for creating nodes
> [this will probably be a ./configure option]
> 
Excellent, this is what we've wanted for a while.

> - udev provides interface we use to wait until it has finished
> processing all the outstanding requests we sent it.
> 
What's this interface?

I had a proposed patch that made udev write its sequence number to the
kernel, and thus allowed any kobject add event to have a "bottom half"
that could happen when udev had finished.  The idea was that the
existing ioctls could then just block.

The other patch we tried a couple of releases ago was have devmapper
spin until udev had caught up.

Scott
-- 
Scott James Remnant
scott ubuntu com

Attachment: signature.asc
Description: This is a digitally signed message part


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