Is it an atomic operation for writing a page in NAND flash

Artem Bityutskiy dedekind1 at gmail.com
Wed Jan 20 08:58:23 EST 2010


On Wed, 2010-01-20 at 13:41 +0000, Jamie Lokier wrote:
> Liu Hui wrote:
> > This is a question confused me for a long time. As I know, writing a
> > sector for a hard disk is atomic. That is to say, when we are writing
> > a sector to hard disk and power failure happen, the sector will be
> > written completely or not at all.
> 
> Are you sure about that?
> I have never seen a reliable confirmation of it.

Theo sent a longish e-mail some time ago to fs-devel or lkml, explaining
why this almost never true in practice.

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




More information about the linux-mtd mailing list