mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
Add a real API for dealing with blk_congestion_wait()
Signed-off-by: Trond Myklebust <[email protected]>
This commit is contained in:
parent
94a6d75320
commit
275a082fe9
5 changed files with 24 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue