diff options
author | Stefan Haberland <stefan.haberland@de.ibm.com> | 2011-01-05 11:48:05 (GMT) |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2011-01-05 11:47:30 (GMT) |
commit | 6f272b9cec285a9610a2acf101f694bc58bed37e (patch) | |
tree | 5c333d47bfaefa34ccd827744f35381133f4444b /block | |
parent | 5a27e60dec59a95bd7f8ae9a19ae2ede4f76395b (diff) | |
download | linux-fsl-qoriq-6f272b9cec285a9610a2acf101f694bc58bed37e.tar.xz |
[S390] dasd: Prevent deadlock during suspend/resume.
The freeze callback may set a stop bit so that a worker thread could
not start I/O. The discipline specific freeze function waits for the
worker to be completed.
Set the stop_bit after the discipline specific freeze function has
returned and no worker is running.
Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions