[S390] path grouping and path verifications fixes.
1. Multipath devices for which SetPGID is not supported are not handled well. Use NOP ccws for path verification (sans path grouping) when SetPGID is not supported. 2. Check for PGIDs already set with SensePGID on _all_ paths (not just the first one) and try to find a common one. Moan if no common PGID can be found (and use NOP verification). If no PGIDs have been set, use the css global PGID (as before). (Rationale: SetPGID will get a command reject if the PGID it tries to set does not match the already set PGID.) 3. Immediately before reboot, issue RESET CHANNEL PATH (rcp) on all chpids. This will remove the old PGIDs. rcp will generate solicited CRWs which can be savely ignored by the machine check handler (all other actions create unsolicited CRWs). Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:

committed by
Martin Schwidefsky

parent
5c898ba9d4
commit
7e560814de
@@ -111,6 +111,16 @@ repeat:
|
||||
break;
|
||||
case CRW_RSC_CPATH:
|
||||
pr_debug("source is channel path %02X\n", crw[0].rsid);
|
||||
/*
|
||||
* Check for solicited machine checks. These are
|
||||
* created by reset channel path and need not be
|
||||
* reported to the common I/O layer.
|
||||
*/
|
||||
if (crw[chain].slct) {
|
||||
DBG(KERN_INFO"solicited machine check for "
|
||||
"channel path %02X\n", crw[0].rsid);
|
||||
break;
|
||||
}
|
||||
switch (crw[0].erc) {
|
||||
case CRW_ERC_IPARM: /* Path has come. */
|
||||
ret = chp_process_crw(crw[0].rsid, 1);
|
||||
|
Reference in New Issue
Block a user