Skip to contentSkip to conversation

multipathd: not skip paths not belonging to a mpp in check_path

PATCH Applied Vaughan Cao 2 participants 2 messages Feb 22, 2014 – Feb 27, 2014 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 multipathd: not skip paths not belonging to a mpp in check_path

From: Vaughan Cao <[email protected]>

commit bf4c80aee4e977e89d6925df569647acd3d5efef
multipathd: add path when transitioned from 'blocked' state intends to check paths not belonging to a mpp usually because of they are in 'blocked' state and we cannot get the path uuid. So these paths ought not to be skipped at the start of the function. It could be a fault when merge the original patch -
http://www.redhat.com/archives/dm-devel/2013-December/msg00085.html

---
 multipathd/main.c |    3 ---
 1 file changed, 3 deletions(-)
multipathd/main.c +0 -3
index af93f32..56d00d3 100644
@@ -1118,9 +1118,6 @@ check_path (struct vectors * vecs, struct path * pp)
 	int chkr_new_path_up = 0;
 	int oldchkrstate = pp->chkrstate;
 
-	if (!pp->mpp)
-		return 0;
-
 	if (pp->tick && --pp->tick)
 		return 0; /* don't check this path yet */
 
Signature · 1 line
1.7.9.5
#1 lore raw

Applied.

Indeed, it seems I messed up the merge.

Thanks.

Quoted 36 lines · Vaughan Cao

From: Vaughan Cao <[email protected]>

commit bf4c80aee4e977e89d6925df569647acd3d5efef
multipathd: add path when transitioned from 'blocked' state intends to check paths not belonging to a mpp usually because of they are in 'blocked' state and we cannot get the path uuid. So these paths ought not to be skipped at the start of the function. It could be a fault when merge the original patch -
http://www.redhat.com/archives/dm-devel/2013-December/msg00085.html

---
 multipathd/main.c |    3 ---
 1 file changed, 3 deletions(-)
multipathd/main.c +0 -4
index af93f32..56d00d3 100644
@@ -1118,9 +1118,6 @@ check_path (struct vectors * vecs, struct path * pp)
        int chkr_new_path_up = 0;
        int oldchkrstate = pp->chkrstate;
 
-       if (!pp->mpp)
-               return 0;
-
        if (pp->tick && --pp->tick)
                return 0; /* don't check this path yet */
 
--

1.7.9.5

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel