Blame SOURCES/classify-device-connectivity-issues-as-global-errors.patch

516038
From 093f1aa2f13cf4d77374ded12161e832196da548 Mon Sep 17 00:00:00 2001
516038
From: "Martin K. Petersen" <martin.petersen@oracle.com>
516038
Date: Thu, 21 May 2015 17:42:15 -0400
516038
Subject: oracleasm: Classify device connectivity issues as global errors
516038
516038
We used to set the ASM_LOCAL_ERROR qualifier when we got ENOLINK, EBADE
516038
or ENODEV status from the storage stack. The assumption was that the
516038
error could be caused by a pulled cable or a bad switch port and that
516038
other nodes in a cluster might still have access to the storage.
516038
516038
The ASM team would prefer these types of errors to be treated as global,
516038
however, as this would be consistent with database behavior when ASMLIB
516038
is not in the picture.
516038
516038
Remove the ASM_LOCAL_ERROR flag from the device connectivity error code
516038
path.
516038
516038
Orabug: 20117903
516038
516038
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
516038
516038
diff --git a/drivers/block/oracleasm/driver.c b/drivers/block/oracleasm/driver.c
516038
index 7eb1707..94acab2 100644
516038
--- a/drivers/block/oracleasm/driver.c
516038
+++ b/drivers/block/oracleasm/driver.c
516038
@@ -1176,7 +1176,6 @@ static void asm_end_ioc(struct asm_request *r, unsigned int bytes_done,
516038
 		case -EBADE:
516038
 		case -ENODEV:
516038
 			r->r_error = ASM_ERR_NODEV;
516038
-			r->r_status |= ASM_LOCAL_ERROR;
516038
 			break;
516038
 
516038
 		case -ENOMEM:
516038
-- 
516038
cgit v0.10.2