summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2013-10-30 17:11:58 +0000
committerMike Snitzer <snitzer@redhat.com>2013-11-09 17:55:50 -0500
commit66cb1910df17b38334153462ec8166e48058035f (patch)
tree912a236582629a69e29ab5208fd0bdac61ee9d07 /arch
parentf8e5f01a3266e68e29024edc2bf2dbf81a864f41 (diff)
dm cache: fix a race condition between queuing new migrations and quiescing for a shutdown
The code that was trying to do this was inadequate. The postsuspend method (in ioctl context), needs to wait for the worker thread to acknowledge the request to quiesce. Otherwise the migration count may drop to zero temporarily before the worker thread realises we're quiescing. In this case the target will be taken down, but the worker thread may have issued a new migration, which will cause an oops when it completes. Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Cc: stable@vger.kernel.org # 3.9+
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions