From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Snitzer Subject: Re: dm: pass up rotational flag Date: Thu, 26 May 2011 14:43:21 -0400 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 Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org 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 List-Id: dm-devel.ids 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