diff options
author | Joe Thornber <ejt@redhat.com> | 2012-12-21 21:23:31 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2012-12-21 21:23:31 +0100 |
commit | 563af186df08002d2600c4e718ad8f3bde109f53 (patch) | |
tree | e8ba7cf56e84a1aacb77d41499387c89bf58cce6 /drivers/md/persistent-data | |
parent | dm thin: fix race between simultaneous io and discards to same block (diff) | |
download | linux-563af186df08002d2600c4e718ad8f3bde109f53.tar.xz linux-563af186df08002d2600c4e718ad8f3bde109f53.zip |
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>
Diffstat (limited to 'drivers/md/persistent-data')
0 files changed, 0 insertions, 0 deletions