Is there really need to build Block Device Emulation over UBI?

Artem Bityutskiy dedekind at infradead.org
Thu Jan 24 03:45:26 EST 2008


On Thu, 2008-01-24 at 16:24 +0800, Nancy wrote:
> > The problem with mtdblock is that when it needs to change an eraseblock,
> > it reads it, erases, then writes new data to it, which would cause data
> > loss in case of an unclean reboot.
> 
> If I can delay  the erase operation, then it perfect works?  when
> change a eraseblock, reads it(from old mapped PEB) , then writes new
> data to it(new mapped PEB), finally erase the old mapped PEB.
> 
> How about that?

Yes, this is OK, but mtdblock does not do this. Here I wrote about how
to create a simple FTL layer over UBI:

http://lists.infradead.org/pipermail/linux-mtd/2008-January/020381.html

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)




More information about the linux-mtd mailing list