From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758228Ab1EZSnh (ORCPT ); Thu, 26 May 2011 14:43:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33908 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758164Ab1EZSnd (ORCPT ); Thu, 26 May 2011 14:43:33 -0400 Date: Thu, 26 May 2011 14:43:21 -0400 From: Mike Snitzer To: "Martin K. Petersen" Cc: Mandeep Singh Baines , linux-kernel@vger.kernel.org, jrbarnette@chromium.org, Neil Brown , Jens Axboe , Alasdair G Kergon , dm-devel@redhat.com Subject: Re: dm: pass up rotational flag Message-ID: <20110526184321.GC26219@redhat.com> References: <1306356648-30730-1-git-send-email-msb@chromium.org> <20110526182321.GA26219@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 26 2011 at 2:29pm -0400, Martin K. Petersen wrote: > >>>>> "Mike" == Mike Snitzer writes: > > >> Allow the NONROT flag to be passed through to linear mappings if all > >> underlying device are non-rotational. Tools like ureadahead will > >> schedule IOs differently based on the rotational flag. > > Mike> Thanks for doing this, looks good in general. > > I'd rather we made the rotational property part of the topology instead > of having to special-case it in DM. I seem to recall posting a patch > that did that at some point but I can't seem to find it... Sure, that'd work too. Similarly, couldn't the discard flag be made part of topology? Mike