lkml.org 
[lkml]   [2015]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Stop SSD from waiting for "Spinning up disk..."
Date
Am Dienstag, 23. Juni 2015, 20:26:12 schriebst Du:
> Hi,

Hi,

> [proper In-Reply-To trail missing since lkml.org now fails to provide it]
[…]
> > Greg,
> >
> > SSD is coming mainstream and it doesn't make sense wasting time
> > spinning up "disk" ...
>
> ...which probably is not truly being achieved
> by providing a *custom* kernel parameter
> which does apply to only those disk instances
> which some users *specifically* care about.
>
> Some things come to mind:
>
> - at this scope, generally spoken
> one shouldn't be concerned with whether "we are SSD",
> but rather whether "we (do not) need spinup"
> (which might apply to a ton of different SCSI-based storage devices,
> even some SAN-based platter-based ones)
> *This* is what this is about
> (and this could then have been reflected in kernel parameter naming)
[…]
> - the kernel must already have some mechanisms to discern between
> (non-)platters (e.g. perhaps for knowing whether to support SSD TRIM
> command)

Yep, for the first SSD in this laptop:

merkaba:/sys> cat
./devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sda/queue/rotational
0

[…]

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


\
 
 \ /
  Last update: 2015-06-23 21:21    [W:0.072 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site