From: Vaughan Cao Subject: [PATCH] multipathd: not skip paths not belonging to a mpp in check_path Date: Sat, 22 Feb 2014 20:34:55 +0800 Message-ID: <1393072495-7238-1-git-send-email-vaughan.cao@oracle.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: hare@suse.de Cc: dm-devel@redhat.com, vaughan.cao@oracle.com List-Id: dm-devel.ids From: Vaughan Cao 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 Signed-off-by: Vaughan Cao --- multipathd/main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/multipathd/main.c b/multipathd/main.c index af93f32..56d00d3 100644 --- a/multipathd/main.c +++ b/multipathd/main.c @@ -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