mtdblock cache flush at remount

David Woodhouse dwmw2 at infradead.org
Thu Aug 19 04:27:25 EDT 2004


On Wed, 2004-08-18 at 18:10 -0700, Todd Poynor wrote:
> Figured I'd check whether anybody feels this is something that could and 
> should be fixed or whether there's already a solution for this.  I've 
> recommended use of only mtd-savvy filesystems like JFFS2 for this sort 
> of usage, but the CE developers I talked to felt filesystems over 
> mtdblock were also important. 

Normal filesystems on mtdblock are always going to be horridly
unreliable. If you lose power at the wrong point during the
read/modify/erase/writeback cycle you've lost a _lot_ of data, not just
the sector the file system thought it was writing. 

I don't care much, but if you see a way to make sync() have the desired
effect I wouldn't be averse to it. Criticism in 'diff -u' form always
preferred :)

-- 
dwmw2






More information about the linux-mtd mailing list