Re: [PATCH] multipathd: checker port_state before setting it.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2024-09-17 at 11:58 -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>

Reviewed-by: Martin Wilck <mwilck@xxxxxxxx>






[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux