Re: jffs2_get_inode_nodes(): Data CRC failed on NAND device

Josh Boyer
2005-02-15T19:46:45Z

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