Files
erofs-linux/include/linux
Peter Zijlstra cf0ca9fe5d mm: bdi: export BDI attributes in sysfs
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

[[email protected]]

 - 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

[[email protected]: fix ia64 warning]
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Kay Sievers <[email protected]>
Acked-by: Greg KH <[email protected]>
Cc: Trond Myklebust <[email protected]>
Signed-off-by: Miklos Szeredi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2008-04-30 08:29:49 -07:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-04-29 08:06:00 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-04-29 08:11:16 -07:00
…
2008-04-29 12:36:54 -07:00
…
…
2008-04-29 08:06:01 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-04-28 08:58:30 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-04-28 08:58:35 -07:00
…
…
…
…
…
…
…
…
…
2008-04-29 08:06:00 -07:00
…
…
…
…
…
…
…
…
…
…
2008-04-28 10:03:31 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
2008-04-29 23:11:38 +02:00
…
…
…
…
…
…
…
…
2008-04-29 08:06:25 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-04-29 08:06:03 -07:00
…
…
…
2008-04-29 08:06:02 -07:00
…
…
…
…
…
…
…
…
2008-04-29 08:06:15 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-04-29 08:06:01 -07:00
…
…
…
…
…
2008-04-29 08:06:17 -07:00
2008-04-29 08:06:17 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-04-28 08:58:29 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-04-29 08:06:02 -07:00
…
…
…
2008-04-29 08:06:02 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-04-29 08:05:59 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-04-30 08:29:48 -07:00
…
…
…
…
…
…
…
2008-04-28 08:58:32 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-04-28 08:58:20 -07:00
…
2008-04-28 08:58:29 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-04-30 08:29:47 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2008-04-28 08:58:21 -07:00
…
…
…
…
…
…
…
…
…
…
…
…