bcache: Make gc wakeup sane, remove set_task_state()

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
This commit is contained in:
Kent Overstreet
2016-10-26 20:31:17 -07:00
committed by Jens Axboe
parent 59331c215d
commit be628be095
5 changed files with 27 additions and 27 deletions

View File

@@ -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