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

From: Simon Arlott
Date: Sun Jun 28 2020 - 14:22:58 EST


On 23/06/2020 14:36, Pavel Machek wrote:
> Many SSDs are buggy, and will eventually corrupt themselves if you do enough
> sudden power loss experiments.
>
> HDDs don't like their power cut, either. You can hear the difference
> between normal power off and power cut...

I will change the patch so that it doesn't distinguish between types of
disks.

The default will have to be the existing behaviour (don't stop disks)
because most reboots shouldn't result in a loss of power.

--
Simon Arlott