summaryrefslogtreecommitdiff
path: root/drivers/md/bcache
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2016-05-24 14:38:34 (GMT)
committerJens Axboe <axboe@fb.com>2016-05-24 15:00:45 (GMT)
commit29e6c57cc78eb7cb8302088061a0721a41ade658 (patch)
treeabbd69fec10c4f30b31c97e390d66373ef28ea27 /drivers/md/bcache
parent770b8ce400123af89ac469361d7912f458915547 (diff)
downloadlinux-29e6c57cc78eb7cb8302088061a0721a41ade658.tar.xz
bcache: bch_gc_thread() is not freezable
bch_gc_thread() doesn't mark itself freezable, so calling try_to_freeze() in its context is just an expensive no-op. Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/md/bcache')
-rw-r--r--drivers/md/bcache/btree.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/md/bcache/btree.c b/drivers/md/bcache/btree.c
index 22b9e34..eab505e 100644
--- a/drivers/md/bcache/btree.c
+++ b/drivers/md/bcache/btree.c
@@ -27,7 +27,6 @@
#include <linux/slab.h>
#include <linux/bitops.h>
-#include <linux/freezer.h>
#include <linux/hash.h>
#include <linux/kthread.h>
#include <linux/prefetch.h>
@@ -1787,7 +1786,6 @@ again:
mutex_unlock(&c->bucket_lock);
- try_to_freeze();
schedule();
}