projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bcache: Make gc wakeup sane, remove set_task_state()
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
md
/
bcache
/
btree.h
diff --git
a/drivers/md/bcache/btree.h
b/drivers/md/bcache/btree.h
index 5c391fa01bedbfba3f1dea062605460ccadc1c6a..9b80417cd547f52c264c1b4b993f3ee2155405f2 100644
(file)
--- a/
drivers/md/bcache/btree.h
+++ b/
drivers/md/bcache/btree.h
@@
-260,8
+260,7
@@
void bch_initial_mark_key(struct cache_set *, int, struct bkey *);
static inline void wake_up_gc(struct cache_set *c)
{
- if (c->gc_thread)
- wake_up_process(c->gc_thread);
+ wake_up(&c->gc_wait);
}
#define MAP_DONE 0