Question about MTD Erase mechanism.
Charles Manning
manningc2 at actrix.gen.nz
Tue Feb 20 02:29:33 EST 2007
On Tuesday 20 February 2007 19:41, Vinit Agnihotri wrote:
> I have 1 question about MTD Erase mechanism.
>
> Say we have a MTD device with 'n' no. of blocks. Each block is of size
> 100Bytes. Once erased we can write 25bytes i.e. min_io_size is
> 25bytes. So once a block is erased I can perform 4 writes without
> erasing it again only if those 4 writes are not overlapping. But if
> any of those write is overlapping i.e. if re-write occurs then entire
> block have to be erased.
That's a pretty contrived example, and depends on the type of flash etc.
>
> So my question is who handles these types of conditions. I mean does
> hardware handles such conditions or software have to handle such
> situations? I mean who handles re-writing & erasures due to that???
Software of course. Hardware is pretty dumb stuff and cannot track and enforce
algorithmic rules like that.
>
>
> Thanks & Regards
> Vinit.
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
More information about the linux-mtd
mailing list