Re: [Patch] Cleanup struct gendisk registration, 2.3.40-pre1

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sun Jan 16 2000 - 14:06:15 EST


> In fact, for floppies we could probably just get rid of the disk change
> detection, and nobody would ever even notice. Not that I'm advocating

They would

> this: I think detecting disk changes is a good thing anyway, I'm just
> saying that if I had done this originally, I wouldn't ever have bothered.

You'd have been caught by changing disk during a writeback not failing all
the further writebacks with an error. The buffer flushing only saves you
from read detect failures. A media change detect on a mistimed disk
change when writing is a life saver

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:14 EST