]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDS/IB: active bonding - failover down interfaces on reboot.
authorMukesh Kacker <mukesh.kacker@oracle.com>
Thu, 4 Sep 2014 19:19:51 +0000 (12:19 -0700)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Wed, 8 Jul 2015 21:00:05 +0000 (14:00 -0700)
commitd8e8bc1ad6afbbc0ab3b234b4b830d1cecf4ee5b
tree7f913d130839723602152862eae3afe6d759ee7d
parent3eb5f0b367305aff1cac913608f4c8f9d8d56882
RDS/IB: active bonding - failover down interfaces on reboot.

RDS active bonding detects port down transitions from
active ports notified by events (and performs failover
when notified) but does not detect ports which are down
at boot time.

Changes involve tracking hw port, link layer, and netdev
layer up/down status separately and the aggregate port UP
status is deduced when ALL layers are UP and DOWN is deduced
when any one layer goes down.

A delayed task is scheduled to run at module load time after
a max delay OR on a sysctl trigger from init script after all
devices that are active are brought up. The ports found be
DOWN are failed over.

Orabug: 18697678

Signed-off-by: Mukesh Kacker <mukesh.kacker@oracle.com>
Reviewed-by: Rama Nichanamatlu <rama.nichanamatlu@oracle.com>
Signed-off-by: Guangyu Sun <guangyu.sun@oracle.com>
(cherry picked from commit 6160b5d17577b0bd4185bdb1b7eda76a5d6fc556)
net/rds/ib.c
net/rds/ib.h
net/rds/ib_sysctl.c