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

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