summaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2015-07-16 21:16:31 -0400
committerMike Snitzer <snitzer@redhat.com>2015-07-16 22:32:06 -0400
commit386cb7cdeeef97e0bf082a8d6bbfc07a2ccce07b (patch)
tree28296635e18864f4fcc85f05b4a464077174fe34 /drivers/md
parent255eac20054e90ac7a52b3e179b61de1168a8fe6 (diff)
downloadblackbird-op-linux-386cb7cdeeef97e0bf082a8d6bbfc07a2ccce07b.tar.gz
blackbird-op-linux-386cb7cdeeef97e0bf082a8d6bbfc07a2ccce07b.zip
dm cache: do not wake_worker() in free_migration()
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>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/dm-cache-target.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/md/dm-cache-target.c b/drivers/md/dm-cache-target.c
index 4afa34d7b8ad..c8a160b37412 100644
--- a/drivers/md/dm-cache-target.c
+++ b/drivers/md/dm-cache-target.c
@@ -424,7 +424,6 @@ static void free_migration(struct dm_cache_migration *mg)
wake_up(&cache->migration_wait);
mempool_free(mg, cache->migration_pool);
- wake_worker(cache);
}
static int prealloc_data_structs(struct cache *cache, struct prealloc *p)
OpenPOWER on IntegriCloud