Hi, I'm trying to understand the mechanisms built in Yaffs to mitigate read disturb failures.

In the Summary of YaffsNandFailureMitigation PDF there’s a reference to an “Occasional rewrite of oldest data” mechanism. How data is evaluated to be old or not? Is it based on duration since last write? Is it possible to configure the duration used by this mechanism to evaluate if data is old or not?


Does YAFFS has a built-in mechanism to re-write data when the NAND status register Rewrite recommended flag is set?

At the moment there’s no call from MTD to the NAND Controller driver to read the status register after a reading data.  Is there a configuration that need to be done to activate the reading of the NAND status register and rewriting of data when the NAND status register report “Rewrite recommended”?

Thanks,

Dan