From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Torvalds Subject: Re: REQUEST for new 'topology' metrics to be moved out of the 'queue' sysfs directory. Date: Thu, 25 Jun 2009 10:46:41 -0700 (PDT) Message-ID: References: <19010.62951.886231.96622@notabene.brown> <125b48b7ffc99a496fbdd512f38cada5.squirrel@neil.brown.name> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: "Martin K. Petersen" Cc: Mike Snitzer , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-raid@vger.kernel.org, linux-ide@vger.kernel.org, device-mapper development , jens.axboe@oracle.com, linux-fsdevel@vger.kernel.org, Alasdair G Kergon List-Id: linux-raid.ids 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