Hi
all
I have
questions about how yaffs2 handle –EBADMSG error form MTD
MTD
layer finds ECC errors and those errors are not correctable, then
nand_read will
return -EBADMSG to YAFFS
It seems YAFFS2 will
call "yaffs_HandleChunkError" and maybe retire this block at next
operation.
But "
yaffs_ReadDataFromFile " do not report error . so , I do not know this
file is bad .
is my analysis right
?
Does YAFFS return
error to kernel when -EBADMSG is returned form MTD ?
please help me and
thanks a lot