lkml.org 
[lkml]   [2015]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v3] bonding: "primary_reselect" with "failure" is not working properly
From
From: Mazhar Rana <ranamazharp@gmail.com>
Date: Tue, 7 Jul 2015 15:04:50 +0530

> From: Mazhar Rana <mazhar.rana@cyberoam.com>
>
> 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@cyberoam.com>
> Signed-off-by: Jay Vosburgh <j.vosburgh@gmail.com>

Applied, thanks.


\
 
 \ /
  Last update: 2015-07-09 01:21    [W:0.038 / U:0.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site