-
- Downloads
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 [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 [akpm@linux-foundation.org: fix ia64 warning] Signed-off-by:Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Kay Sievers <kay.sievers@vrfy.org> Acked-by:
Greg KH <greg@kroah.com> Cc: Trond Myklebust <trond.myklebust@fys.uio.no> Signed-off-by:
Miklos Szeredi <mszeredi@suse.cz> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- Documentation/ABI/testing/sysfs-class-bdi 46 additions, 0 deletionsDocumentation/ABI/testing/sysfs-class-bdi
- block/genhd.c 8 additions, 0 deletionsblock/genhd.c
- include/linux/backing-dev.h 9 additions, 0 deletionsinclude/linux/backing-dev.h
- include/linux/writeback.h 3 additions, 0 deletionsinclude/linux/writeback.h
- lib/percpu_counter.c 1 addition, 0 deletionslib/percpu_counter.c
- mm/backing-dev.c 119 additions, 0 deletionsmm/backing-dev.c
- mm/page-writeback.c 1 addition, 1 deletionmm/page-writeback.c
- mm/readahead.c 7 additions, 1 deletionmm/readahead.c
Loading
Please register or sign in to comment