Thread (13 messages) 13 messages, 4 authors, 2008-02-29

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

From: Greg KH <hidden>
Date: 2008-01-29 17:39:48
Also in: linux-fsdevel, lkml

On Tue, Jan 29, 2008 at 04:49:02PM +0100, Miklos Szeredi wrote:
From: Peter Zijlstra <redacted>

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@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 <redacted>
CC: Kay Sievers <redacted>
CC: Greg KH <redacted>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help