Re: [patch 2/6] mm: bdi: export BDI attributes in sysfs

From: Greg KH
Date: Tue Jan 29 2008 - 12:41:01 EST


On Tue, Jan 29, 2008 at 04:49:02PM +0100, Miklos Szeredi wrote:
> From: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
>
> 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/<block>/queue/read_ahead_kb should be
> deprecated.
>
> With patient help from Kay Sievers and Greg KH
>
> [mszeredi@xxxxxxx]
>
> - 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 <a.p.zijlstra@xxxxxxxxx>
> CC: Kay Sievers <kay.sievers@xxxxxxxx>
> CC: Greg KH <greg@xxxxxxxxx>

Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/