[Yaffs] Re: power fail testing

Sergei Sharonov Sergei.Sharonov@Halliburton.com
Mon, 23 May 2005 07:06:09 -0500


Charles,


> > 3. Garbage collector may later copy the bad page without=20
> > checking crc (!)
> > to a new block and assign it a (new) good crc.
>=20
> There is no crc, but there is ecc. YAFFS should be applying=20
> ECC during gc too=20
> as it is part of the standard read. THis will fix single bit=20
> errors, but not=20
> partially written pages.

Sorry, I misused crc in place of ecc.
I am worried that gc may copy out a bad page and assign it a new=20
good ecc. Then the read will not be able to see a problem with this
page. Maybe there should be a check in gc for a good ecc before copy.

Sergei
----------------------------------------------------------------------
This e-mail, including any attached files, may contain confidential and pri=
vileged information for the sole use of the intended recipient.  Any review=
, use, distribution, or disclosure by others is strictly prohibited.  If yo=
u are not the intended recipient (or authorized to receive information for =
the intended recipient), please contact the sender by reply e-mail and dele=
te all copies of this message.