]> git.baikalelectronics.ru Git - kernel.git/commit
dm thin: wake worker when discard is prepared
authorJoe Thornber <ejt@redhat.com>
Fri, 21 Dec 2012 20:23:31 +0000 (20:23 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 21 Dec 2012 20:23:31 +0000 (20:23 +0000)
commit6735f5a8f186f70e78023755f64b952d6eb76013
treee8ba7cf56e84a1aacb77d41499387c89bf58cce6
parent44ae25a55bb4210715702ad01753d3b2d9326796
dm thin: wake worker when discard is prepared

When discards are prepared it is best to directly wake the worker that
will process them.  The worker will be woken anyway, via periodic
commit, but there is no reason to not wake_worker here.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-thin.c