linux/drivers/s390/block
Stefan Weinhuber 22825ab769 [S390] dasd: support DIAG access for read-only devices
When a DASD device is used with the DIAG discipline, the DIAG
initialization will indicate success or error with a respective
return code. So far we have interpreted a return code of 4 as error,
but it actually means that the initialization was successful, but
the device is read-only. To allow read-only devices to be used with
DIAG we need to accept a return code of 4 as success.

Re-initialization of the DIAG access is also part of the DIAG error
recovery. If we find that the access mode of a device has been
changed from writable to read-only while the device was in use,
we print an error message.

Signed-off-by: Stefan Weinhuber <wein@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2009-12-07 12:51:34 +01:00
..
dasd_3990_erp.c [S390] dasd: fix message naming 2009-09-11 10:29:42 +02:00
dasd_alias.c [S390] dasd: fix message naming 2009-09-11 10:29:42 +02:00
dasd_devmap.c [S390] pm: dasd power management callbacks. 2009-06-16 10:31:10 +02:00
dasd_diag.c [S390] dasd: support DIAG access for read-only devices 2009-12-07 12:51:34 +01:00
dasd_diag.h [S390] dasd whitespace and other cosmetics. 2006-06-29 14:58:12 +02:00
dasd_eckd.c [S390] cio: split PGID settings and status 2009-12-07 12:51:31 +01:00
dasd_eckd.h [S390] dasd: add High Performance FICON support 2009-03-26 15:24:05 +01:00
dasd_eer.c [S390] dasd: fix message naming 2009-09-11 10:29:42 +02:00
dasd_erp.c [S390] dasd: fix message naming 2009-09-11 10:29:42 +02:00
dasd_fba.c [S390] dasd: fix message naming 2009-09-11 10:29:42 +02:00
dasd_fba.h [S390] dasd whitespace and other cosmetics. 2006-06-29 14:58:12 +02:00
dasd_genhd.c [S390] dasd: message cleanup 2009-03-26 15:24:05 +01:00
dasd_int.h const: make block_device_operations const 2009-09-22 07:17:25 -07:00
dasd_ioctl.c [S390] dasd: fix message naming 2009-09-11 10:29:42 +02:00
dasd_proc.c proc 2/2: remove struct proc_dir_entry::owner 2009-03-31 01:14:44 +04:00
dasd.c [S390] cio: split PGID settings and status 2009-12-07 12:51:31 +01:00
dcssblk.c const: make block_device_operations const 2009-09-22 07:17:25 -07: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 const: make block_device_operations const 2009-09-22 07:17:25 -07:00