Re: [PATCH 2/7] libmultipath: check for not PATH_UP in detect_alua

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

 



On Wed, 2024-06-05 at 19:22 -0400, Benjamin Marzinski wrote:
> Previously detect_alua was setting pp->tpgs if the path state was
> either
> PATH_UP or PATH_REMOVED. Setting pp->tpgs for PATH_REMOVED makes no
> sense.  PATH_UP is the only state that path_offline() returns where
> we
> should set pp->tpgs, so just check for that, instead of checking for
> all
> the states where we shouldn't set pp->tpgs.
> 
> 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