Re: dm-multipath: nr_active fix

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

 



On jeu, 2006-02-16 at 18:43 -0600, Benjamin Marzinski wrote:
> There is some weirdness in the nr_active handling in multipathd, For instance,
> whenever you change state to a PATH_DOWN or PATH_SHAKY state, you decrement
> the number of active paths, even if you change from PATH_DOWN to PATH_SHAKY.
> 
> The attached patch attempts to fix the problem.  It slightly changes how some
> of the states are handled.
> 
Applied, though this one shows the code in this area needs more love :
it is too hard to read to be honest.

Anyway, you sure are right to account the ghost paths in nr_active.

BTW, I realize I forgot to credit you (Ben) in the git log. Sorry about
that.

Regards,
cvaroqui

--

dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

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

  Powered by Linux