From: Martin Wilck <martin.wilck@suse.com>
To: "dm-devel@redhat.com" <dm-devel@redhat.com>,
"muneendra.kumar@broadcom.com" <muneendra.kumar@broadcom.com>
Cc: "mkumar@redhat.com" <mkumar@redhat.com>
Subject: Re: [dm-devel] [PATCH v3] multipathd: handle fpin events
Date: Thu, 10 Feb 2022 16:55:43 +0000 [thread overview]
Message-ID: <133eed88a2cd40da76e53829a4422ca6f6faea18.camel@suse.com> (raw)
In-Reply-To: <d564d33320acaea31144f7f224a515556e786976.camel@suse.com>
On Thu, 2022-02-10 at 17:07 +0100, Martin Wilck wrote:
> On Wed, 2022-02-09 at 19:28 -0800, Muneendra Kumar wrote:
> > This patch incorporates the functionality to handle
> > FPIN ELS events present as part of FCTransport daemon
> > (available in EPEL8) into the multipathd. This helps us to
> > reduce the response time to react and take the necessary actions
> > on receiving the FPIN events.
> >
> > This patch currently support FPIN-Li Events.
> >
> > It adds a new thread to listen for ELS frames from driver and on
> > receiving the frame payload, push the payload to a list and notify
> > the
> > fpin_els_li_consumer thread to process it.Once consumer thread is
> > notified, it returns to listen for more ELS frames from driver.
> >
> > The consumer thread process the ELS frames and moves the devices
> > paths
> > which are affected due to link integrity to marginal path groups.
> > This also sets the associated portstate to marginal.
> > The paths which are set to marginal path group will be unset
> > on receiving the RSCN events
> >
> > Signed-off-by: Muneendra Kumar <muneendra.kumar@broadcom.com>
> > Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
> > ---
>
> Reviewed-by: Martin Wilck <mwilck@suse.com>
>
> Thanks!
>
> Martin
>
The CI found a minor issue on 32bit, which I'll fixup myself as shown
below.
Martin
diff --git a/multipathd/fpin_handlers.c b/multipathd/fpin_handlers.c
index 2a94024..a5e9477 100644
--- a/multipathd/fpin_handlers.c
+++ b/multipathd/fpin_handlers.c
@@ -287,7 +287,7 @@ fpin_parse_li_els_setpath_marginal(uint16_t host_num, struct fc_tlv_desc *tlv,
wwpn = be64_to_cpu(li_desc->pname_list[iter]);
ret = fpin_chk_wwn_setpath_marginal(host_num, vecs, wwpn);
if (ret < 0)
- condlog(2, "failed to set the path marginal associated with wwpn: 0x%lx\n", wwpn);
+ condlog(2, "failed to set the path marginal associated with wwpn: 0x%" PRIx64 "\n", wwpn);
count++;
}
--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel
next prev parent reply other threads:[~2022-02-10 16:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-10 3:28 [dm-devel] [PATCH v3] multipathd: handle fpin events Muneendra Kumar
2022-02-10 16:07 ` Martin Wilck
2022-02-10 16:55 ` Martin Wilck [this message]
2022-02-10 18:02 ` Martin Wilck
2022-02-10 17:00 ` Martin Wilck
2022-02-10 20:22 ` Martin Wilck
2022-02-10 21:02 ` Benjamin Marzinski
2022-02-10 21:05 ` Martin Wilck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=133eed88a2cd40da76e53829a4422ca6f6faea18.camel@suse.com \
--to=martin.wilck@suse.com \
--cc=dm-devel@redhat.com \
--cc=mkumar@redhat.com \
--cc=muneendra.kumar@broadcom.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox