From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Wilck Subject: [PATCH 20/33] libmultipath: setup_feature: print log msg if no_path_retry cant be set Date: Tue, 28 Feb 2017 17:23:16 +0100 Message-ID: <20170228162329.14517-21-mwilck@suse.com> References: <20170228162329.14517-1-mwilck@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20170228162329.14517-1-mwilck@suse.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: dm-devel@redhat.com Cc: Martin Wilck List-Id: dm-devel.ids From: Martin Wilck Signed-off-by: Martin Wilck --- libmultipath/structs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libmultipath/structs.c b/libmultipath/structs.c index 4419510d..c2565239 100644 --- a/libmultipath/structs.c +++ b/libmultipath/structs.c @@ -501,6 +501,9 @@ void setup_feature(struct multipath *mpp, char *feature) if (!strncmp(feature, "queue_if_no_path", 16)) { if (mpp->no_path_retry <= NO_PATH_RETRY_UNDEF) mpp->no_path_retry = NO_PATH_RETRY_QUEUE; + else + condlog(1, "%s: ignoring feature queue_if_no_path because no_path_retry = %d", + mpp->alias, mpp->no_path_retry); } } -- 2.11.0