Re: [PATCH] scsi: sd: stop SSD (non-rotational) disks before reboot

From: Pavel Machek
Date: Sat Jul 04 2020 - 07:49:24 EST


Hi!

> > Sent: 02 July 2020 22:17
> > > > during a FLASH write or erase can cause from weakened cells, to much
> > > > larger damage. It is possible to harden the chip or the design against
> > > > this, but it is *expensive*. And even if warded off by hardening and no
> > > > FLASH damage happens, an erase/program cycle must be done on the whole
> > > > erase block to clean up the incomplete program cycle.
> > >
> > > It should have been SSD's(including FW) responsibility to avoid data loss when
> > > the SSD is doing its own BG writing, because power cut can happen any time
> > > from SSD's viewpoint.
> >
> > It should be their responsibility. But we know how well that works
> > (not well), so we try hard (and should try hard) to power SSDs down
> > cleanly.
>
> I hope modern SSD disks are better than very old CF drives.

Testing showed there were not few yars ago.

> I had one where the entire contents got scrambled after an unexpected
> power removal.

If you have SSD you are willing to kill, I believe you can get to same
result with a bit of patience.

Best regards,
Pavel--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature