From: Peter Zijlstra Date: Wed, 30 Apr 2008 07:54:36 +0000 (-0700) Subject: mm: bdi: allow setting a maximum for the bdi dirty limit X-Git-Tag: v2.6.26-rc1~154 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a42dde04152750426cc620fd277e80fffae2f65a;p=pandora-kernel.git 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 Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed