FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Device-mapper Development

 
 
LinkBack Thread Tools
 
Old 03-24-2009, 02:34 PM
Kay Sievers
 
Default Fix race-condition when reading sysfs attributes.

On Tue, Mar 24, 2009 at 16:24, Konrad Rzeszutek <konrad@virtualiron.com> wrote:
> This fix re-introduces a wait loop when reading sysfs attributes.
> The reason a wait is necessary is due to the way the kernel
> sends the event.

> There are four uevents sent from the kernel in the creation of
> a SysFS representation of the device. After the last event, the
> SysFs entries for vendor,model, rev are populated. The window
> time between the uevent with /block/sdX sent and the sysfs
> attributes being populated is small.

What kernel version are you using? I thought we fixed all that long ago.

Thanks,
Kay

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

Thread Tools




All times are GMT. The time now is 01:26 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org