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

From: Christoph Hellwig
Date: Thu Jun 18 2020 - 03:21:54 EST


On Wed, Jun 17, 2020 at 07:49:57PM +0100, Simon Arlott wrote:
> Avoiding a stop of the disk on a reboot is appropriate for HDDs because
> they're likely to continue to be powered (and should not be told to spin
> down only to spin up again) but the default behaviour for SSDs should
> be changed to stop them before the reboot.

I don't think that is true in general. At least for most current server
class and older desktop and laptop class systems they use the same
format factors and enclosures, although they are slightly divering now.

So I think this needs to be quirked based on the platform and/or
enclosure.

I don't have ATA SSDs any more, but at least in my laptops the NVMe
SSDs do see unsafe shutdowns during reboots.