]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDS: ActiveBonding: Create a cluster sync point for failback
authorSantosh Shilimkar <santosh.shilimkar@oracle.com>
Tue, 8 Nov 2016 01:22:51 +0000 (17:22 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 17 Feb 2017 04:29:20 +0000 (20:29 -0800)
commit1af5fdbb68cfe36f3fe5ceb567d05ea38d1b7656
treedeb4efb0de601cb50023fd625225c8e8e98b7bee
parent238a807df5e57afb4b1e13ba87015093e3212247
RDS: ActiveBonding: Create a cluster sync point for failback

On hardware port linkups, at time the multi-cast joins fails
which delays the IP layer to bringup the interface quickly.
Subsequent multi-cast retry might succeed and then the IP
layer will be ready for IP migration. This happens very
sporadically on bare metal systems but more often on VM systems
and the number of multi-cast queries also goes up with number of VMs.

This create load of RC connection thrashing across the cluster
since the IP migration gets staggered which is not ideal for
active active. So we create a sync point so that entire cluster
gets synced up. This helps to reduce the thrashing and premature
failover attempts. Obviously its only applicable for failback

A user sysctl is provided "active_bonding_failback_ms"
in case there is a need to tune the sync point.

Orabug: 25026643

Tested-by: Michael Nowak <michael.nowak@oracle.com>
Tested-by: Dib Chatterjee <dib.chatterjee@oracle.com>
Reviewed-by: Avinash Repaka <avinash.repaka@oracle.com>
Reviewed-by: Mukesh Kacker <mukesh.kacker@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
net/rds/ib.c
net/rds/ib.h
net/rds/ib_sysctl.c