[Yaffs] notification about data error during read

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: Evgeny Habinsky
Date:  
To: yaffs
Subject: [Yaffs] notification about data error during read
Hi!

I use YAFFS via direct interface.

When YAFFS encounters unrecoverable ECC error during file read it
retires the block but the application gets no notification from the file
system that the file data is corrupted (except for printed error
message).

One could pass such notification via global variable from directly from
yaffs_ReadChunkFromNAND() to application. I'd like to know how do you
deal with this problem or think it should be dealt with.

Thanks.