diff options
author | Jiri Kosina <jkosina@suse.cz> | 2016-05-24 17:38:34 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-05-24 18:00:45 +0300 |
commit | 29e6c57cc78eb7cb8302088061a0721a41ade658 (patch) | |
tree | abbd69fec10c4f30b31c97e390d66373ef28ea27 /drivers/md/bcache | |
parent | 770b8ce400123af89ac469361d7912f458915547 (diff) | |
download | linux-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.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/md/bcache/btree.c b/drivers/md/bcache/btree.c index 22b9e34ceb75..eab505ee0027 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(); } |