diff options
author | Peter Oberparleiter <peter.oberparleiter@de.ibm.com> | 2011-04-04 09:43:32 +0200 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2011-04-04 09:43:33 +0200 |
commit | a2fc8485f838ccd2ce5db690f81ac086489a9e7e (patch) | |
tree | 9cc51125c5cbbd66344a09d114897d668b750bcc /arch | |
parent | aa5c8df398266a141fb5ff0e77cbc7904a3e0648 (diff) |
[S390] cio: prevent purging of CCW devices in the online state
The cio_ignore purge function is intended to only remove CCW devices
which are in the offline state. There is a time frame after the purge
function finished where a CCW device is scheduled for removal but
still accessible. When the device is set online during this time
frame, it may first appear online before it is then removed.
Fix this by preventing that CCW devices can be set online while there
is work (such as removal triggered by the purge function) for it
pending. Also ensure that the purge function does not schedule devices
for removal which are in the process of being set online.
Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions