[Yaffs-archive] Re: waiting for callback after mtd->erase() …

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: Stephan Linke, Yaffs List
Subject: [Yaffs-archive] Re: waiting for callback after mtd->erase() failed
On Friday 05 December 2003 21:00, Stephan Linke wrote:
> Hi,
>
> there seames to be a problem in nandmtd_EraseBlockInNAND(). When
> mtd->erase() failed YAFFS is still expecting the callback to be called. But
> having a look at nand_erase() shows that the callabck is only called if the
> return value is zero. This must lead to a deadlock situation next time
> YAFFS tries to erase a block.
>


How recent is your version of YAFFS? I think this problem was found and fixed
quite a while ago.

The erase call is always synchonous on NAND and the callback is no longer
used.



-- CHarles

---------------------------------------------------------------------------------------
This mailing list is hosted by Toby Churchill open software (www.toby-churchill.org).
If mailing list membership is no longer wanted you can remove yourself from the list by
sending an email to with the text "unsubscribe"
(without the quotes) as the subject.