jffs2_get_inode_nodes(): Data CRC failed on NAND device

Josh Boyer jdub at us.ibm.com
Tue Feb 15 14:46:17 EST 2005


On Tue, 2005-02-15 at 20:22 +0100, Martin Egholm Nielsen wrote:
> Well, as someone told me the other day on the IRC-channel, the 
> writebuffer is flushed automatically if the buffer has not been accessed 
> for X (2?) seconds (controlled by the VFS, right?)...
> 
> Correct me if I'm wrong...

Not quite.  The write buffer is flushed every 5 seconds, unless you tune
it using the /proc entry.  It's controlled by kupdated, which syncs the
supers, which flushes the write buffer in JFFS2.

If the write buffer contains GC data, that isn't flushed at all.

josh





More information about the linux-mtd mailing list