>>>     4) erase block(s)
>> That could be a problem.
> 
> Nah.  I'd just make that happen "under the covers".  So that block write 
> did the erase blocks.  There is a special way to erase a bunch of blocks 
> all at once, which I'd use for SCMD_FORMAT_UNIT.  :-)

I vaguely remember reading about Linux driver a while ago, where the 
author argued that flash storage does not fit into the unix block device 
model because of erase. I've just dug up that page:

http://www.linux-mtd.infradead.org/faq/general.html

I do not suppose it to be hugely relevant to your work though, since MTD 
also relies on erase-aware filesystems.

-Artem

Reply via email to