[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: garbage collect

On Tue, 27 Jun 2000, Bjorn Wesen wrote:

> There is a magic sequence in the beginning of each node, that can be used
> to locate the start (in combination with a correct checksum of the node of
> course, if other data is present). That's how the scan picks up after a
> failed write.

Hm.. What if the first sector has just been erased (GC operation) and the
system crashes.. I think you need to store the expected flash extent in a
sector header(s) :|

How do you locate the spare sector if you don't have any sector headers?