Blame SOURCES/0082-UPBZ-1109995-no-sync-turs-on-pthread_cancel.patch

1eb31d
---
1eb31d
 libmultipath/checkers/tur.c |    9 +++------
1eb31d
 1 file changed, 3 insertions(+), 6 deletions(-)
1eb31d
1eb31d
Index: multipath-tools-130222/libmultipath/checkers/tur.c
1eb31d
===================================================================
1eb31d
--- multipath-tools-130222.orig/libmultipath/checkers/tur.c
1eb31d
+++ multipath-tools-130222/libmultipath/checkers/tur.c
1eb31d
@@ -409,7 +409,6 @@ libcheck_check (struct checker * c)
1eb31d
 				ct->running = 0;
1eb31d
 				MSG(c, MSG_TUR_TIMEOUT);
1eb31d
 				tur_status = PATH_DOWN;
1eb31d
-				ct->state = PATH_UNCHECKED;
1eb31d
 			} else {
1eb31d
 				condlog(3, "%d:%d: tur checker not finished",
1eb31d
 					TUR_DEVT(ct));
1eb31d
@@ -426,12 +425,10 @@ libcheck_check (struct checker * c)
1eb31d
 		pthread_mutex_unlock(&ct->lock);
1eb31d
 	} else {
1eb31d
 		if (ct->thread) {
1eb31d
-			/* pthread cancel failed. continue in sync mode */
1eb31d
 			pthread_mutex_unlock(&ct->lock);
1eb31d
-			condlog(3, "%d:%d: tur thread not responding, "
1eb31d
-				"using sync mode", TUR_DEVT(ct));
1eb31d
-			return tur_check(c->fd, c->timeout, c->message,
1eb31d
-					 ct->wwid);
1eb31d
+			condlog(3, "%d:%d: tur thread not responding, ",
1eb31d
+				TUR_DEVT(ct));
1eb31d
+			return PATH_DOWN;
1eb31d
 		}
1eb31d
 		/* Start new TUR checker */
1eb31d
 		ct->state = PATH_UNCHECKED;