From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: [patch 2/6] mm: bdi: export BDI attributes in sysfs Date: Tue, 29 Jan 2008 09:39:48 -0800 Message-ID: <20080129173948.GA14450@kroah.com> References: <20080129154900.145303789@szeredi.hu> <20080129154948.823761079@szeredi.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: akpm@linux-foundation.org, a.p.zijlstra@chello.nl, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, Kay Sievers , Trond Myklebust To: Miklos Szeredi Return-path: Content-Disposition: inline In-Reply-To: <20080129154948.823761079@szeredi.hu> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Tue, Jan 29, 2008 at 04:49:02PM +0100, Miklos Szeredi wrote: > From: Peter Zijlstra > > Provide a place in sysfs (/sys/class/bdi) for the backing_dev_info > object. This allows us to see and set the various BDI specific > variables. > > In particular this properly exposes the read-ahead window for all > relevant users and /sys/block//queue/read_ahead_kb should be > deprecated. > > With patient help from Kay Sievers and Greg KH > > [mszeredi@suse.cz] > > - split off NFS and FUSE changes into separate patches > - document new sysfs attributes under Documentation/ABI > - do bdi_class_init as a core_initcall, otherwise the "default" BDI > won't be initialized > - remove bdi_init_fmt macro, it's not used very much > > Signed-off-by: Peter Zijlstra > CC: Kay Sievers > CC: Greg KH Acked-by: Greg Kroah-Hartman