Re: [PATCH] improve atomicity of device creation

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

 



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@xxxxxxxxxx

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

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux