Re: Changes to the FireWire kernel drivers in Linux 3.1
Brought to you by:
aeb,
bencollins
From: Allan D. <al...@fa...> - 2011-11-03 22:16:27
|
On 04/11/11 05:05, Stefan Richter wrote: > On Oct 05 Stefan Richter wrote: >> PS, unrelated to the 1394 subsystem but related to 1394 storage devices: >> The last few kernel releases had multiple bugs WRT hot removal of hard >> disks, CD ROM drives, card readers and so on. The word is that the last >> known one of these bugs has been fixed in 3.1-rc9 from yesterday. > > Not true. Sadly, the Linux block layer remains buggy WRT device removal. > AFAIU a thorough rework of the block layer with introduction of proper > reference counting is required to get this class of bugs really fixed. > Considering that there was a steady, frequent stream of related bug reports > for about a year now, and presumed fix after presumed fix was applied > without ultimate progress in the matter, it is easy to make an estimate > how quick this is going to be resolved. > > While I did not see a kernel panic anymore myself lately, processes and > kernel threads tend to fall into uninterruptible wait state if a storage > device is removed. > > Note to self: Always kill udisks-deamon before removing a CD-ROM drive or > a card reader, to reduce exposure to race conditions. Is it viable to add reference counting to your corner of the world so that at least the 1394 subsystem keeps itself nice? |