projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
255eac2
)
dm cache: do not wake_worker() in free_migration()
author
Mike Snitzer
<snitzer@redhat.com>
Fri, 17 Jul 2015 01:16:31 +0000
(21:16 -0400)
committer
Mike Snitzer
<snitzer@redhat.com>
Fri, 17 Jul 2015 02:32:06 +0000
(22:32 -0400)
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>
drivers/md/dm-cache-target.c
patch
|
blob
|
history
diff --git
a/drivers/md/dm-cache-target.c
b/drivers/md/dm-cache-target.c
index 4afa34d7b8adda5fb9166e23d4ebafe8dec3157f..c8a160b374120b02552101ca584843a6c75c42dd 100644
(file)
--- 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)