jffs2_get_inode_nodes(): Data CRC failed on NAND device

Josh Boyer jdub at us.ibm.com
Tue Feb 15 15:03:33 EST 2005


On Tue, 2005-02-15 at 13:46 -0600, Josh Boyer wrote:
> 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.

Just to clarify that, if the buffer contains _only_ GC data it isn't
flushed.  If it contains GC + inode data, all of that data is.

josh





More information about the linux-mtd mailing list