Add a real API for dealing with blk_congestion_wait()

Signed-off-by: Trond Myklebust <[email protected]>
This commit is contained in:
Trond Myklebust 2006-08-22 20:06:24 -04:00
commit 275a082fe9
5 changed files with 24 additions and 0 deletions

View file

@ -802,6 +802,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.