Skip to contentSkip to conversation

Poor floppy performance in kernel 2.4.10

DISCUSSION Manfred Spraul 1 participant 1 message Oct 19, 2001

lore
Share & tools
lore
#0 lore raw

Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Quoted 4 lines

And with
the floppy case, there was no way to notice at run-time whether the unit was broken or not - the floppy drives have no ID's to blacklist etc.

The standard trick is to start with media-change not supported, and enable it if you get the first change signal.
There are really old floppies that don't support media-change signals, and they _never_ send it. If you see a media-change signal, then you know that the floppy is not broken.

Probably a timer (2 seconds) and a delayed cache flush should fix the problem.

If the device supports media-change and media-lock, then it could increase the timeout value.

--
Manfred