All of lore.kernel.org
 help / color / mirror / Atom feed
* JFFS2_WBUF_VERIFY patch clarification
@ 2011-03-01  5:23 Sankara Narayanan Balasubramanian
  0 siblings, 0 replies; only message in thread
From: Sankara Narayanan Balasubramanian @ 2011-03-01  5:23 UTC (permalink / raw)
  To: linux-mtd

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.
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? 
3.	Are there any chances / known instances that the patch may fail (if the second attempt to recovery also fail)?

Pls note that we cannot move to the latest version of kernel as this product is in maintenance phase.

With regards,
Sankara Narayanan B

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-03-01  5:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-01  5:23 JFFS2_WBUF_VERIFY patch clarification Sankara Narayanan Balasubramanian

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.