[Yaffs] Re: inadvertently marking all blocks bad?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Wookey
Date:  
To: yaffs
Subject: [Yaffs] Re: inadvertently marking all blocks bad?
+++ Lawson.Reed [05-07-08 16:02 -0700]:
> OK, it's all working now. the problem was that nand_read_ecc()
> was doing the AUTOPLACE to skip the bad block marker, but the
> same AUTOPLACE code did not exist in nand_read_oob(). And when
> YAFFS2 calls through its yaffs_mtdif.c layer while its looking for
> the right chunk ID, it ends up calling nand_read_oob()
> and not nand_read_ecc(). So, I put the same AUTOPLACE code there
> and wala, All works. It's a pain having to cobble together new
> and old code so as to live in the past (2.4 kernel I mean).
> I know its my own darn fault.
>
> This is so FAST compared to JAFFS2. THANK YOU!!!!!


Do you have any numbers/examples for how the two compare?

Wookey
-- 
Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK  Tel +44 (0) 1223 811679
work: http://www.aleph1.co.uk/     play: http://www.chaos.org.uk/~wookey/