]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: introduce primary_reselect option
authorJiri Pirko <jpirko@redhat.com>
Fri, 25 Sep 2009 03:28:09 +0000 (03:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Oct 2009 08:07:39 +0000 (01:07 -0700)
commitc6cf695dc5a4446990038c2d817bbe5572816e78
treec819e8c33701696115c3d60b12ca95a0cd792291
parentfbe1cd94188dcadd06319e8516402ad8d2e7a4b4
bonding: introduce primary_reselect option

In some cases there is not desirable to switch back to primary interface when
it's link recovers and rather stay with currently active one. We need to avoid
packetloss as much as we can in some cases. This is solved by introducing
primary_reselect option. Note that enslaved primary slave is set as current
active no matter what.

Patch modified by Jay Vosburgh as follows: fixed bug in action
after change of option setting via sysfs, revised the documentation
update, and bumped the bonding version number.

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/bonding.txt
drivers/net/bonding/bond_main.c
drivers/net/bonding/bond_sysfs.c
drivers/net/bonding/bonding.h