On Tue, 2024-11-05 at 11:22 -0500, Benjamin Marzinski wrote: > On Tue, Sep 17, 2024 at 11:58:58AM -0400, Benjamin Marzinski wrote: > > If the rport port_state is already Marginal, trying to set it to > > Marginal causes an error like the following: > > > > multipathd[365376]: > > /sys/devices/pci0000:c0/0000:c0:01.1/0000:c4:00.0/host0/rport-0:0- > > 5/fc_remote_ports/rport-0:0-5: failed to set port_state to > > marginal: Invalid argument > > > > To avoid causing this confusing error message, check if the > > port_state > > is already marginal before trying to set it. > > > > Cc: Muneendra Kumar <muneendra.kumar@xxxxxxxxxxxx> > > Signed-off-by: Benjamin Marzinski <bmarzins@xxxxxxxxxx> > > Ping. My in-kernel fix for this was accepted, but it would be nice to > have this work on older kernels as well. Applied to "queue" now. Sorry for the delay. Martin