From: David Miller <davem@davemloft.net>
To: ranamazharp@gmail.com
Cc: j.vosburgh@gmail.com, vfalico@gmail.com,
gospo@cumulusnetworks.com, mazhar.rana@cyberoam.com,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
sanket.shah@cyberoam.com
Subject: Re: [PATCH v3] bonding: "primary_reselect" with "failure" is not working properly
Date: Wed, 08 Jul 2015 16:06:34 -0700 (PDT) [thread overview]
Message-ID: <20150708.160634.2087986100168064781.davem@davemloft.net> (raw)
In-Reply-To: <1436261690-1121-1-git-send-email-ranamazharp@gmail.com>
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.
prev parent reply other threads:[~2015-07-08 23:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-07 9:34 [PATCH v3] bonding: "primary_reselect" with "failure" is not working properly Mazhar Rana
2015-07-07 16:22 ` Jay Vosburgh
2015-07-08 23:06 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150708.160634.2087986100168064781.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=gospo@cumulusnetworks.com \
--cc=j.vosburgh@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mazhar.rana@cyberoam.com \
--cc=netdev@vger.kernel.org \
--cc=ranamazharp@gmail.com \
--cc=sanket.shah@cyberoam.com \
--cc=vfalico@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).