|
@@ -12,7 +12,6 @@
|
|
#include "writeback.h"
|
|
#include "writeback.h"
|
|
|
|
|
|
#include <linux/delay.h>
|
|
#include <linux/delay.h>
|
|
-#include <linux/freezer.h>
|
|
|
|
#include <linux/kthread.h>
|
|
#include <linux/kthread.h>
|
|
#include <trace/events/bcache.h>
|
|
#include <trace/events/bcache.h>
|
|
|
|
|
|
@@ -228,7 +227,6 @@ static void read_dirty(struct cached_dev *dc)
|
|
*/
|
|
*/
|
|
|
|
|
|
while (!kthread_should_stop()) {
|
|
while (!kthread_should_stop()) {
|
|
- try_to_freeze();
|
|
|
|
|
|
|
|
w = bch_keybuf_next(&dc->writeback_keys);
|
|
w = bch_keybuf_next(&dc->writeback_keys);
|
|
if (!w)
|
|
if (!w)
|
|
@@ -433,7 +431,6 @@ static int bch_writeback_thread(void *arg)
|
|
if (kthread_should_stop())
|
|
if (kthread_should_stop())
|
|
return 0;
|
|
return 0;
|
|
|
|
|
|
- try_to_freeze();
|
|
|
|
schedule();
|
|
schedule();
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|