Re: Stop SSD from waiting for "Spinning up disk..."

From: Martin Steigerwald
Date: Thu Jun 25 2015 - 02:08:59 EST


Am Mittwoch, 24. Juni 2015, 18:41:52 schrieb Greg Kroah-Hartman:
> On Thu, Jun 25, 2015 at 07:55:45AM +0800, Jeff Chua wrote:
> > On Thu, Jun 25, 2015 at 12:28 AM, Greg Kroah-Hartman
> >
> > <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> > > On Thu, Jun 25, 2015 at 12:22:47AM +0800, Jeff Chua wrote:
> > >> Both sda and sdb have the same SSD model.
> > >
> > > That's a bug in your USB bridge chip, odds are it is not reporting the
> > > value properly. There's nothing the scsi core or USB stack can do
> > > about
> > > this, sorry. Please complain to the hardware manufacturer.
> >
> > There are workaround boot cmdline parameters for other things ... any
> > chance to consider one to fix broken rotational option? I'm not sure
> > how many out there are broken, but I really would like a faster way to
> > access my USB SSD without waiting for the "disk spinup".
>
> Just like module paramaters, boot command lines are not for device
> specific attributes, sorry. Again, please contact the manufacturer to
> get this fixed. We can't add a quirk for this bridge because it would
> not work if you really put a rotational disk behind it.

How about a way to override it in sysfs directly during runtime just for a
device individually, like choosing an I/O scheduler for example?

> Given the cheap cost of these types of bridges, I recommend just getting
> one that works.

That is an option as well and may educate hardware manufacturers to look a
bit better at the quality of those devices (at least then Linux market share
in that market increases).

Thanks,
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
--
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/