linux/drivers/s390/block
Peter Oberparleiter 91c36919a4 [S390] cio: call ccw driver notify function with lock held
Calling a ccw driver's notify function without the ccw device lock
held opens up a race window between discovery and handling of a change
in the device operational state. As a result, the device driver may
encounter unexpected device malfunction, leading to out-of-retry
situations or similar.

Remove race by extending the ccw device lock from state change
discovery to the calling of the notify function.

Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2008-08-21 19:46:41 +02:00
..
dasd_3990_erp.c [S390] cio: introduce fcx enabled scsw format 2008-07-14 10:02:07 +02:00
dasd_alias.c [S390] dasd: Add support for enhanced VM UID 2008-08-01 16:39:29 +02:00
dasd_devmap.c [S390] dasd: Add support for enhanced VM UID 2008-08-01 16:39:29 +02:00
dasd_diag.c [S390] dasd: use -EOPNOTSUPP instead of -ENOTSUPP 2008-07-17 17:22:10 +02:00
dasd_diag.h [S390] dasd whitespace and other cosmetics. 2006-06-29 14:58:12 +02:00
dasd_eckd.c [S390] dasd: Add support for enhanced VM UID 2008-08-01 16:39:29 +02:00
dasd_eckd.h [S390] dasd: fix data size for PSF/PRSSD command 2008-08-21 19:46:41 +02:00
dasd_eer.c [S390] drivers/s390: Use an IS_ERR test rather than a NULL test 2008-08-21 19:46:39 +02:00
dasd_erp.c [S390] dasd: add hyper PAV support to DASD device driver, part 1 2008-01-26 14:11:28 +01:00
dasd_fba.c [S390] dasd: Fix cleanup in dasd_{fba,diag}_check_characteristics(). 2008-07-17 17:22:08 +02:00
dasd_fba.h [S390] dasd whitespace and other cosmetics. 2006-06-29 14:58:12 +02:00
dasd_genhd.c [S390] dasd: add hyper PAV support to DASD device driver, part 1 2008-01-26 14:11:28 +01:00
dasd_int.h [S390] dasd: Add support for enhanced VM UID 2008-08-01 16:39:29 +02:00
dasd_ioctl.c [S390] dasd: add hyper PAV support to DASD device driver, part 1 2008-01-26 14:11:28 +01:00
dasd_proc.c s390: use non-racy method for proc entries creation 2008-04-29 08:06:21 -07:00
dasd.c [S390] cio: call ccw driver notify function with lock held 2008-08-21 19:46:41 +02:00
dcssblk.c [S390] Cleanup dcssblk printk messages. 2008-07-14 10:02:23 +02:00
Kconfig [S390] dasd: fix double elevator_exit call when deadline iosched fails to load 2008-04-17 07:46:55 +02:00
Makefile [S390] dasd: add hyper PAV support to DASD device driver, part 1 2008-01-26 14:11:28 +01:00
xpram.c [S390] Cleanup xpram printk messages. 2008-07-14 10:02:18 +02:00