diff options
author | Stefan Haberland <stefan.haberland@de.ibm.com> | 2011-01-05 12:48:05 +0100 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2011-01-05 12:47:30 +0100 |
commit | 6f272b9cec285a9610a2acf101f694bc58bed37e (patch) | |
tree | 5c333d47bfaefa34ccd827744f35381133f4444b /drivers/s390/block/dasd_devmap.c | |
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>
Diffstat (limited to 'drivers/s390/block/dasd_devmap.c')
0 files changed, 0 insertions, 0 deletions