Re: [PATCH v3] bonding: "primary_reselect" with "failure" is not working properly
From: David Miller
Date: Wed Jul 08 2015 - 19:06:48 EST
From: Mazhar Rana <ranamazharp@xxxxxxxxx>
Date: Tue, 7 Jul 2015 15:04:50 +0530
> From: Mazhar Rana <mazhar.rana@xxxxxxxxxxxx>
>
> When "primary_reselect" is set to "failure", primary interface should
> not become active until current active slave is down. But if we set first
> member of bond device as a "primary" interface and "primary_reselect"
> is set to "failure" then whenever primary interface's link get back(up)
> it become active slave even if current active slave is still up.
>
> With this patch, "bond_find_best_slave" will not traverse members if
> primary interface is not candidate for failover/reselection and current
> active slave is still up.
>
> Signed-off-by: Mazhar Rana <mazhar.rana@xxxxxxxxxxxx>
> Signed-off-by: Jay Vosburgh <j.vosburgh@xxxxxxxxx>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/