commit | 6f272b9cec285a9610a2acf101f694bc58bed37e | [log] [tgz] |
---|---|---|
author | Stefan Haberland <stefan.haberland@de.ibm.com> | Wed Jan 05 12:48:05 2011 +0100 |
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | Wed Jan 05 12:47:30 2011 +0100 |
tree | 5c333d47bfaefa34ccd827744f35381133f4444b | |
parent | 5a27e60dec59a95bd7f8ae9a19ae2ede4f76395b [diff] |
[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>