Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933147AbbFWSz7 (ORCPT ); Tue, 23 Jun 2015 14:55:59 -0400 Received: from mondschein.lichtvoll.de ([194.150.191.11]:59752 "EHLO mail.lichtvoll.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932126AbbFWSzw convert rfc822-to-8bit (ORCPT ); Tue, 23 Jun 2015 14:55:52 -0400 From: Martin Steigerwald To: Andreas Mohr Cc: Jeff Chua , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Christoph Hellwig Subject: Re: Stop SSD from waiting for "Spinning up disk..." Date: Tue, 23 Jun 2015 20:55:49 +0200 Message-ID: <3819569.ix7n6b03GW@merkaba> User-Agent: KMail/4.14.10 (Linux/4.1.0-tp520-btrfstrim-pstatetrace+; KDE/4.14.2; x86_64; git-e0fc73a; 2015-06-16) In-Reply-To: <20150623182612.GA27461@rhlx01.hs-esslingen.de> References: <20150623182612.GA27461@rhlx01.hs-esslingen.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1528 Lines: 48 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/