aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/block/dasd.c
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2009-03-31 13:16:05 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2009-03-31 13:17:06 -0400
commit47593bfa1056d306fde067b28dd8617009be4121 (patch)
tree3bbad2e48bb773ac4b6f8e0efb4214c75cede7f5 /drivers/s390/block/dasd.c
parentc4621a62649a56f155a96dfc5de479be226f0768 (diff)
[S390] cio: introduce notifier for boxed state
If a ccw device did not respond in time during internal io, we set it into boxed state. With this patch we have the following behaviour: * the ccw driver will get a notification if the device was online and goes into the boxed state * if the device was disconnected and got boxed nothing special is to be done (it will be handled in reprobing later) * if the device got boxed while initial sensing it will be unregistered Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/block/dasd.c')
-rw-r--r--drivers/s390/block/dasd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/block/dasd.c b/drivers/s390/block/dasd.c
index 2fd64e5a9ab2..0570794ccf1c 100644
--- a/drivers/s390/block/dasd.c
+++ b/drivers/s390/block/dasd.c
@@ -2363,6 +2363,7 @@ int dasd_generic_notify(struct ccw_device *cdev, int event)
2363 ret = 0; 2363 ret = 0;
2364 switch (event) { 2364 switch (event) {
2365 case CIO_GONE: 2365 case CIO_GONE:
2366 case CIO_BOXED:
2366 case CIO_NO_PATH: 2367 case CIO_NO_PATH:
2367 /* First of all call extended error reporting. */ 2368 /* First of all call extended error reporting. */
2368 dasd_eer_write(device, NULL, DASD_EER_NOPATH); 2369 dasd_eer_write(device, NULL, DASD_EER_NOPATH);