From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Benjamin Marzinski" Subject: Re: [PATCH 18/21] multipathd: check_path: improve logging for "unusable path" case Date: Thu, 25 Oct 2018 16:50:32 -0500 Message-ID: <20181025215032.GA7100@octiron.msp.redhat.com> References: <20181011222707.3631-1-mwilck@suse.com> <20181011222707.3631-19-mwilck@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20181011222707.3631-19-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: Martin Wilck Cc: dm-devel@redhat.com List-Id: dm-devel.ids On Fri, Oct 12, 2018 at 12:27:04AM +0200, Martin Wilck wrote: Reviewed-by: Benjamin Marzinski > Signed-off-by: Martin Wilck > --- > multipathd/main.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/multipathd/main.c b/multipathd/main.c > index 1bd1518a..8ce72fce 100644 > --- a/multipathd/main.c > +++ b/multipathd/main.c > @@ -1894,7 +1894,8 @@ check_path (struct vectors * vecs, struct path * pp, int ticks) > } > > if (newstate == PATH_WILD || newstate == PATH_UNCHECKED) { > - condlog(2, "%s: unusable path", pp->dev); > + condlog(2, "%s: unusable path - checker failed", pp->dev); > + LOG_MSG(2, verbosity, pp); > conf = get_multipath_config(); > pthread_cleanup_push(put_multipath_config, conf); > pathinfo(pp, conf, 0); > -- > 2.19.0