dm cache: wake the worker thread every time we free a migration object
authorJoe Thornber <ejt@redhat.com>
Wed, 27 May 2015 14:39:45 +0000 (15:39 +0100)
committerMike Snitzer <snitzer@redhat.com>
Thu, 11 Jun 2015 21:13:00 +0000 (17:13 -0400)
commit88bf5184fa5861e766e39fd34fc6d21557ac7be8
tree5cbb1ffbcc0b8e7f648f2b65e93b834cb1a02b8b
parent66a636356647a9be8885c2ce2948de126577698a
dm cache: wake the worker thread every time we free a migration object

When the cache is idle, writeback work was only being issued every
second.  With this change outstanding writebacks are streamed
constantly.  This offers a writeback performance improvement.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-cache-target.c