Browse Source

[S390] cio: Restart path verification after unsolicited interrupt.

If we try to start path verification when an unsolicited interrupt
is already pending, stctl shows status pending and we delay path
verification again. We need to check for the doverify bit when the
unsolicited interrupt comes in and then do path verification.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cornelia Huck 18 years ago
parent
commit
18374d376c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      drivers/s390/cio/device_fsm.c

+ 2 - 0
drivers/s390/cio/device_fsm.c

@@ -842,6 +842,8 @@ ccw_device_irq(struct ccw_device *cdev, enum dev_event dev_event)
 call_handler_unsol:
 call_handler_unsol:
 		if (cdev->handler)
 		if (cdev->handler)
 			cdev->handler (cdev, 0, irb);
 			cdev->handler (cdev, 0, irb);
+		if (cdev->private->flags.doverify)
+			ccw_device_online_verify(cdev, 0);
 		return;
 		return;
 	}
 	}
 	/* Accumulate status and find out if a basic sense is needed. */
 	/* Accumulate status and find out if a basic sense is needed. */