Re: Race to power off harming SATA SSDs
From: Boris Brezillon <hidden>
Date: 2017-05-08 11:55:35
Also in:
linux-scsi, lkml
From: Boris Brezillon <hidden>
Date: 2017-05-08 11:55:35
Also in:
linux-scsi, lkml
On Mon, 8 May 2017 13:48:07 +0200 Boris Brezillon [off-list ref] wrote:
On Mon, 8 May 2017 13:06:17 +0200 Richard Weinberger [off-list ref] wrote:quoted
On Mon, May 8, 2017 at 12:49 PM, Pavel Machek [off-list ref] wrote:quoted
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.Unfortunately, that's not the case, though UBI can easily be patched to do that (see below).
Sorry for the noise, I was wrong, UBI already re-erases empty blocks [1]. [1]http://elixir.free-electrons.com/linux/latest/source/drivers/mtd/ubi/attach.c#L983