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

Re: [dm-devel] dm-multipath: nr_active fix



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


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