summaryrefslogtreecommitdiff
path: root/drivers/bcma
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2013-10-30 17:11:58 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-04 19:05:33 (GMT)
commit901dfc022de56b1f3c6dc605116af540bd0c1044 (patch)
tree3c73cf250db515067fc149b7ded36a3c4af0fe5e /drivers/bcma
parent884d5952afcbee9d56961663051390dda586107f (diff)
downloadlinux-fsl-qoriq-901dfc022de56b1f3c6dc605116af540bd0c1044.tar.xz
dm cache: fix a race condition between queuing new migrations and quiescing for a shutdown
commit 66cb1910df17b38334153462ec8166e48058035f upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/bcma')
0 files changed, 0 insertions, 0 deletions