Messages in this thread |  | | Date | Fri, 19 Oct 2001 18:58:49 +0200 | From | Manfred Spraul <> | Subject | Re: Poor floppy performance in kernel 2.4.10 |
| |
Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit
> 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |