[Yaffs] how yaffs handle read error or read fail when mount?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Ezio Zhang
Date:  
To: YAFFS
Subject: [Yaffs] how yaffs handle read error or read fail when mount?
as seen in source code,yaffs just read data from flash and calcuate
ECC,but when read one page has error ,it only report errors whithout
doing anything else.
So when mounting,yaffs read data from flash to re-construct files,if a
file's some chunks are not read correct,how process this file?
----
Regards,
Ezio.