summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2006-08-22 20:06:24 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-09-22 23:24:54 -0400
commit275a082fe9308e710324e26ccb5363c53d8fd45f (patch)
treee97df6e45f98ea2827f71dc749f8cd47f3f353cc /mm
parent94a6d75320b3681e6e728b70e18bd186cb55e682 (diff)
downloadblackbird-op-linux-275a082fe9308e710324e26ccb5363c53d8fd45f.tar.gz
blackbird-op-linux-275a082fe9308e710324e26ccb5363c53d8fd45f.zip
Add a real API for dealing with blk_congestion_wait()
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'mm')
-rw-r--r--mm/page-writeback.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/mm/page-writeback.c b/mm/page-writeback.c
index e630188ccc40..77a0bc4e261a 100644
--- a/mm/page-writeback.c
+++ b/mm/page-writeback.c
@@ -803,6 +803,15 @@ int test_set_page_writeback(struct page *page)
EXPORT_SYMBOL(test_set_page_writeback);
/*
+ * Wakes up tasks that are being throttled due to writeback congestion
+ */
+void writeback_congestion_end(void)
+{
+ blk_congestion_end(WRITE);
+}
+EXPORT_SYMBOL(writeback_congestion_end);
+
+/*
* Return true if any of the pages in the mapping are marged with the
* passed tag.
*/
OpenPOWER on IntegriCloud