mbox series

[v2,0/2] multipath: set rport port_state on NVMe FPIN events

Message ID 20250116202234.2753960-1-bmarzins@redhat.com (mailing list archive)
Headers show
Series multipath: set rport port_state on NVMe FPIN events | expand

Message

Benjamin Marzinski Jan. 16, 2025, 8:22 p.m. UTC
When multipathd handles link integrity FPIN events, it sets the rport
associated with the effected SCSI paths to Marginal. These patches make
it do the same thing for NVMe paths.

Changes in v2:
- commit message change to add more detail
- multipathd now stops looking as soon as it finds the matching rport.

Benjamin Marzinski (2):
  libmultipath: export udev pthread cleanup functions
  multipathd: set rport port_state to marginal for NVMe devices

 libmultipath/discovery.c          |  4 +-
 libmultipath/discovery.h          |  2 +
 libmultipath/libmultipath.version |  6 +++
 multipathd/fpin_handlers.c        | 79 ++++++++++++++++++++++++++++---
 4 files changed, 83 insertions(+), 8 deletions(-)

Comments

Martin Wilck Jan. 17, 2025, 8:31 p.m. UTC | #1
On Thu, 2025-01-16 at 15:22 -0500, Benjamin Marzinski wrote:
> When multipathd handles link integrity FPIN events, it sets the rport
> associated with the effected SCSI paths to Marginal. These patches
> make
> it do the same thing for NVMe paths.
> 
> Changes in v2:
> - commit message change to add more detail
> - multipathd now stops looking as soon as it finds the matching
> rport.
> 
> Benjamin Marzinski (2):
>   libmultipath: export udev pthread cleanup functions
>   multipathd: set rport port_state to marginal for NVMe devices
> 

For the series:
Reviewed-by: Martin Wilck <mwilck@suse.com>

>  libmultipath/discovery.c          |  4 +-
>  libmultipath/discovery.h          |  2 +
>  libmultipath/libmultipath.version |  6 +++
>  multipathd/fpin_handlers.c        | 79 ++++++++++++++++++++++++++++-
> --
>  4 files changed, 83 insertions(+), 8 deletions(-)
>