Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757471AbZFYRrX (ORCPT ); Thu, 25 Jun 2009 13:47:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753993AbZFYRrH (ORCPT ); Thu, 25 Jun 2009 13:47:07 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:33446 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752606AbZFYRrF (ORCPT ); Thu, 25 Jun 2009 13:47:05 -0400 Date: Thu, 25 Jun 2009 10:46:41 -0700 (PDT) From: Linus Torvalds X-X-Sender: torvalds@localhost.localdomain To: "Martin K. Petersen" cc: NeilBrown , Mike Snitzer , Alasdair G Kergon , jens.axboe@oracle.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-raid@vger.kernel.org, linux-ide@vger.kernel.org, linux-fsdevel@vger.kernel.org, device-mapper development Subject: Re: [dm-devel] REQUEST for new 'topology' metrics to be moved out of the 'queue' sysfs directory. In-Reply-To: Message-ID: References: <19010.62951.886231.96622@notabene.brown> <125b48b7ffc99a496fbdd512f38cada5.squirrel@neil.brown.name> User-Agent: Alpine 2.01 (LFD 1184 2008-12-16) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 884 Lines: 25 On Thu, 25 Jun 2009, Martin K. Petersen wrote: > > Neil> So I asked git why it as added, and it pointed to > Neil> commit 1308835ffffe6d61ad1f48c5c381c9cc47f683ec > > Neil> which suggests that it was added so that user space could tell the > Neil> kernel whether the device was rotational, rather than the other > Neil> way around. > > There's an option to do it via udev for broken devices that don't report > it. But both SCSI and ATA have a setting that gets queried and the > queue flag set accordingly. .. except few devices actually set it. That flag is _definitely_ all about the user being able to override it. Linus -- 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/