linux/drivers/s390
Peter Oberparleiter a2fc8485f8 [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>
2011-04-04 09:43:33 +02:00
..
block Merge branch 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6 2011-03-25 17:47:04 -07:00
char Merge branch 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6 2011-03-25 17:47:04 -07:00
cio [S390] cio: prevent purging of CCW devices in the online state 2011-04-04 09:43:33 +02:00
crypto [S390] Handling of 4096 bit RSA keys in CRT format. 2011-01-05 12:47:27 +01:00
kvm [S390] irq: have detailed statistics for interrupt types 2011-01-05 12:47:25 +01:00
net [S390] ccwgroup_driver: remove duplicate members 2011-03-23 10:15:59 +01:00
scsi [S390] ccw_driver: remove duplicate members 2011-03-23 10:15:59 +01:00
Makefile [S390] split/move machine check handler code 2009-03-26 15:24:10 +01:00