Re: Race to power off harming SATA SSDs

From: Richard Weinberger
Date: Mon May 08 2017 - 07:06:31 EST


On Mon, May 8, 2017 at 12:49 PM, Pavel Machek <pavel@xxxxxx> wrote:
> Aha, nice, so it looks like ubifs is a step back here.
>
> 'clean marker' is a good idea... empty pages have plenty of space.

If UBI (not UBIFS) faces an empty block, it also re-erases it.
The EC header is uses as clean marker.

> How do you handle the issue during regular write? Always ignore last
> successfully written block?

The last page of a block is inspected and allowed to be corrupted.

> Do you handle "paired pages" problem on MLC?

Nope, no MLC support in mainline so far.

--
Thanks,
//richard