Messages in this thread | | | Date | Mon, 30 Nov 2009 13:51:19 +0000 | From | Alan Cox <> | Subject | Re: [PATCH] mmc: add module parameter to set whether cards are assumed removable |
| |
> Before we do suspend, pick few random sectors from the media, run that > through some hash function, thus creating some sort of watermark.
Statistically speaking the chances are you'll catch zero sectors and lose. You'll also not detect the suspend, move to other box, use, put back error. That is one users make and we need to be at least vaguely robust against.
Hence you need the fs checking here.
Alan
| |