All methods that queue work call wake_worker() as you'd expect.
E.g. cell_defer, defer_bio, quiesce_migration (which is called by
writeback, promote, demote_then_promote, invalidate, discard, etc).
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
wake_up(&cache->migration_wait);
mempool_free(mg, cache->migration_pool);
wake_up(&cache->migration_wait);
mempool_free(mg, cache->migration_pool);
}
static int prealloc_data_structs(struct cache *cache, struct prealloc *p)
}
static int prealloc_data_structs(struct cache *cache, struct prealloc *p)