In message <[EMAIL PROTECTED]>, Bruce M Simpson writes:

>Ah, let me rephrase, I meant:
>
>* NAND Flash embedded ATA controllers should not erase sectors 
>containing data unless absolutely necessary, to implement wear levelling.

That's part of the job description, but it is more complex than that.

> * BIO_DELETE provides the necessary hint from the OS, by way of the ATA 
>CFA ERASE command, to tell the flash controller that the upper layer 
>consumer of the blocks has marked the data as being erased.

Yes.

> * The NAND flash ATA controller is *then* in a position to know how 
>best to implement that wear levelling as the OS has told it "I'm not 
>using these sectors any more".

Possibly.  For "best" substitute "better" and I might agree.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to