JFFS2_WBUF_VERIFY patch clarification (RESENT)

Artem Bityutskiy dedekind1 at gmail.com
Thu Mar 31 10:34:14 EDT 2011


On Wed, 2011-03-23 at 05:40 +0000, Sankara Narayanan Balasubramanian
wrote:
> Hi,
> 
> We are using JFFS2 as part of our linux kernel v2.6.18 in our product.
> We are using JFFS2 file system on top of the MTD Driver for NAND Flash
> (SLC Nand flash). We observe the problem during our long duration file
> write tests (endurance tests) that occasionally the data written
> through the fwrite function call is not present in the flash. 
> 
> We checked the latest kernel sources (2.6.37) and observed a similar
> problem being resolved through the JFFS2_WBUF_VERIFY patch. We took
> only that patch (implementation into our wbuf.c file) and we observe
> that the problem is resolved. We request you to provide the feedback
> for the following.
> 
> 1.	Can this patch be taken as a stand-alone patch into our existing
> JFFS2 as part of linux 2.6.18 release

No, this release is not supported by anyone anymore. I think the oldest
long-term stable kernel is 2.6.27.

> 2.	What is the exact behavior of the patch? We observe that the patch
> ensures that the jffs2_wbuf_recovery is called once more if the first
> attempt to verify fails. How does it ensure that the data is written
> into the flash properly? 

Which patch? Specify commit id or send it.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)




More information about the linux-mtd mailing list