diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2008-04-30 09:54:36 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 17:29:50 +0200 |
commit | a42dde04152750426cc620fd277e80fffae2f65a (patch) | |
tree | 98cdf246280c59e0bf044ae6d2c229fc27b73203 /lib/swiotlb.c | |
parent | mm: bdi: allow setting a minimum for the bdi dirty limit (diff) | |
download | linux-a42dde04152750426cc620fd277e80fffae2f65a.tar.xz linux-a42dde04152750426cc620fd277e80fffae2f65a.zip |
mm: bdi: allow setting a maximum for the bdi dirty limit
Add "max_ratio" to /sys/class/bdi. This indicates the maximum percentage of
the global dirty threshold allocated to this bdi.
[mszeredi@suse.cz]
- fix parsing in max_ratio_store().
- export bdi_set_max_ratio() to modules
- limit bdi_dirty with bdi->max_ratio
- document new sysfs attribute
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions