Author: shizheng Date: To: yaffs CC: Charles Manning Subject: [Yaffs] Questions about the situations that need
yaffs_HandleChunkError
Hi:
In yaffs_ReadCHunkWithTagsFromNAND, yaffs_HandleChunkError is
called when (tags && tags->eccResult > YAFFS_ECC_RESULT_NO_ERROR).
But if data is read with ecc fixed but tags is read with
YAFFS_ECC_RESULT_NO_ERROR, there is no handling.
There maybe something wrong with page cells of NAND chip such
as a bit flip. I think the block where such a page lives
should also be gcPrioritised, since when a second bit flip occurs,
the ecc mechanism won't fix the error any more.
Or the data bit-flip is not as important as a tags bit-flip?