bcache: bch_writeback_thread() is not freezable
[deliverable/linux.git] / drivers / md / bcache / writeback.c
index b9346cd9cda192bdf9142bfa462dc0ab74383707..60123677b382a6c55fb00d734ca433adb7770f7a 100644 (file)
@@ -12,7 +12,6 @@
 #include "writeback.h"
 
 #include <linux/delay.h>
-#include <linux/freezer.h>
 #include <linux/kthread.h>
 #include <trace/events/bcache.h>
 
@@ -228,7 +227,6 @@ static void read_dirty(struct cached_dev *dc)
         */
 
        while (!kthread_should_stop()) {
-               try_to_freeze();
 
                w = bch_keybuf_next(&dc->writeback_keys);
                if (!w)
@@ -433,7 +431,6 @@ static int bch_writeback_thread(void *arg)
                        if (kthread_should_stop())
                                return 0;
 
-                       try_to_freeze();
                        schedule();
                        continue;
                }
This page took 0.041844 seconds and 5 git commands to generate.