Ideally erase operation should happen before marking block as BAD.
Without that we cannot ensure that the block will be really marked BAD.


From: zheng shi <neversetsun@gmail.com>
To: YAFFS <yaffs@lists.aleph1.co.uk>
Cc: Charles Manning <manningc2@actrix.gen.nz>
Sent: Thursday, 15 December 2011 11:38 AM
Subject: [Yaffs] about retiring a block

Hi,
I found it strange that there's no block erase operation before
calling yaffs_mark_bad.
But in mtd_utils/nandwrite.c, the block is erased before marking bad.

Is it the expected behavior?

Thanks!

--
Regards, Shizheng

_______________________________________________
yaffs mailing list
yaffs@lists.aleph1.co.uk
http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs