Re: Stop SSD from waiting for "Spinning up disk..."
From: Frans Klaver
Date: Tue Jun 23 2015 - 14:27:57 EST
On Tue, Jun 23, 2015 at 5:02 PM, Jeff Chua <jeff.chua.linux@xxxxxxxxx> wrote:
> On Mon, Jun 22, 2015 at 11:36 PM, Greg Kroah-Hartman
> <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>> On Mon, Jun 22, 2015 at 03:25:29PM +0800, Jeff Chua wrote:
>>> There's no need to wait for disk spin-up for USB SSD devices. This patch
>>> allow the SSD to skip waiting disk spin-up by passing sd_mod.ssd=1 during
>>> If there's a better way to handle this, please share.
>> Module parameters are never a solution for a device-specific property,
> SSD is coming mainstream and it doesn't make sense wasting time
> spinning up "disk" ...
I don't think Greg disputes that. He just objects to the solution (a
module parameter) you proposed. I'd guess that detecting that we're
talking to an SSD and then skipping the wait would make more sense, if
at all possible.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/