Re: [PATCH v1] rds: If one path needs re-connection, check all and re-connect

2020-07-01 Thread David Miller
From: rao.sho...@oracle.com Date: Wed, 1 Jul 2020 12:23:38 -0700 > From: Rao Shoaib > > In testing with mprds enabled, Oracle Cluster nodes after reboot were > not able to communicate with others nodes and so failed to rejoin > the cluster. Peers with lower IP address initiated connection but t

[PATCH v1] rds: If one path needs re-connection, check all and re-connect

2020-07-01 Thread rao . shoaib
From: Rao Shoaib In testing with mprds enabled, Oracle Cluster nodes after reboot were not able to communicate with others nodes and so failed to rejoin the cluster. Peers with lower IP address initiated connection but the node could not respond as it choose a different path and could not initiat

Re: [PATCH v1] rds: If one path needs re-connection, check all and re-connect

2020-06-29 Thread David Miller
From: Rao Shoaib Date: Mon, 29 Jun 2020 10:55:28 -0700 > This was coded in this unusual way because the code is agnostic to the > underlying transport. Unfortunately, IB transport does not > initialize/use this field where as TCP does and counts starting from > one. Ok, please resubmit, I didn't

Re: [PATCH v1] rds: If one path needs re-connection, check all and re-connect

2020-06-29 Thread Rao Shoaib
On 6/26/20 4:31 PM, David Miller wrote: From: rao.sho...@oracle.com Date: Fri, 26 Jun 2020 11:34:38 -0700 +/* Check connectivity of all paths + */ +void rds_check_all_paths(struct rds_connection *conn) +{ + int i = 0; + + do { + rds_conn_path_connect_if_down(&conn->c

Re: [PATCH v1] rds: If one path needs re-connection, check all and re-connect

2020-06-26 Thread David Miller
From: rao.sho...@oracle.com Date: Fri, 26 Jun 2020 11:34:38 -0700 > +/* Check connectivity of all paths > + */ > +void rds_check_all_paths(struct rds_connection *conn) > +{ > + int i = 0; > + > + do { > + rds_conn_path_connect_if_down(&conn->c_path[i]); > + } while (++i < c

[PATCH v1] rds: If one path needs re-connection, check all and re-connect

2020-06-26 Thread rao . shoaib
From: Rao Shoaib In testing with mprds enabled, Oracle Cluster nodes after reboot were not able to communicate with others nodes and so failed to rejoin the cluster. Peers with lower IP address initiated connection but the node could not respond as it choose a different path and could not initiat