Skip to content

Commit

Permalink
fix Skip resource recovery for node and power gard.
Browse files Browse the repository at this point in the history
Change-Id: Ia962954dd85fe0ead36245016be3ac8380216429
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
CQ: SW448863
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67535
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Matt Derksen <mderkse1@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
dhruvibm authored and dcrowell77 committed Oct 23, 2018
1 parent c3499cc commit 7f52979
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/usr/hwas/common/deconfigGard.C
Original file line number Diff line number Diff line change
Expand Up @@ -583,11 +583,11 @@ errlHndl_t DeconfigGard::deconfigureTargetsFromGardRecordsForIpl(
continue;
}

//Continue only with FATAL/UNRECOVERABLE gard errors.
//All gard on node deosnt need resource recovery
if(((l_gardRecord.iv_errorType != GARD_Fatal)&&
(l_gardRecord.iv_errorType != GARD_Unrecoverable))||
(l_pTarget->getAttr<ATTR_TYPE>() == TYPE_NODE))
// Only apply the record if it is Fatal, Unrecoverable,
// or for a Node
if (!((l_gardRecord.iv_errorType == GARD_Fatal)||
(l_gardRecord.iv_errorType == GARD_Unrecoverable)||
(l_pTarget->getAttr<ATTR_TYPE>() == TYPE_NODE)))
{
//Skip recoverable gard records
continue;
Expand Down

0 comments on commit 7f52979

Please sign in to comment.