Re: [PATCH] Fix race-condition when reading sysfs attributes.

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

 



On Tue, Mar 24, 2009 at 16:24, Konrad Rzeszutek <konrad@xxxxxxxxxxxxxxx> 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@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