Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758173AbYA2Rk7 (ORCPT ); Tue, 29 Jan 2008 12:40:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753127AbYA2Rkt (ORCPT ); Tue, 29 Jan 2008 12:40:49 -0500 Received: from pentafluge.infradead.org ([213.146.154.40]:58546 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752900AbYA2Rks (ORCPT ); Tue, 29 Jan 2008 12:40:48 -0500 Date: Tue, 29 Jan 2008 09:39:48 -0800 From: Greg KH To: Miklos Szeredi 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 Subject: Re: [patch 2/6] mm: bdi: export BDI attributes in sysfs 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 Content-Disposition: inline In-Reply-To: <20080129154948.823761079@szeredi.hu> User-Agent: Mutt/1.5.16 (2007-06-09) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1192 Lines: 32 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 -- 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/