>
>Ok, understood. Thanks!
>
>However, all pages that are used by yaffs should be read when the file-system
>is mounted, correct?
>
>So at least after a boot, there should be a read-access across all valid data. Or
>do I need some kind of "scrubbing" to be sure?
>
If you want some pages with bitflips to be refreshed, and prevent bitflips of page from uncorrectable bitflips
(because of long time no read on several block).
We suggest doing that, at least we should read first three pages of each block periodically.
For some users of NAND, they use linux command 'dd' to implement this.
Or you can write a simple user space application to do that.
>----- Ursprüngliche Mail -----
>Von: "Bean Huo (beanhuo)" <beanhuo@micron.com>
>An: vf@floeder.com
>CC: yaffs@stoneboat.aleph1.co.uk
>Gesendet: Montag, 29. Januar 2018 10:04:22
>Betreff: RE: [Yaffs] Read-Only mounted YAFFS2 - refreshing of NAND pages
>
>>
>>Hi,
>>
>>I am wondering if the page-refresh works on a read-only mounted
>>filesystem as well. However, if it would not, then some flash blocks
>>might get uncorrectable read-errors after some period of time, so I'd
>>expect that to work - but on the other hand, it might be a bad idea to
>>mount read-only at all ...
>>
>>Does anybody know? Thanks!
>>
>>- Volker
>>
>>
>
>According to my understanding, if there is read action on this read-only
>mounted Partition, page-refresh will work. Even for the read-write mounted
>filesystem, if no read action, page-refresh doesn't work.
>mtd layer will report bitflips to file system layer, rather than file system itself.
>
>>
>>
>>
>>------------------------------
>>
>>Subject: Digest Footer
>>
>>_______________________________________________
>>yaffs mailing list
>>yaffs@stoneboat.aleph1.co.uk
>>http://stoneboat.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs
>>
>>
>>------------------------------
>>
>>End of yaffs Digest, Vol 150, Issue 2
>>*************************************