]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/rds: prioritize the base connection establishment v4.1.12-105.0.20170622_2100
authorWei Lin Guay <wei.lin.guay@oracle.com>
Mon, 15 May 2017 11:52:47 +0000 (13:52 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 23 Jun 2017 04:30:13 +0000 (21:30 -0700)
commit1bc87d23681aa69494c15915f5941e2b5d905bab
tree1a0526ae090f7197b73cb61acc0a6cd7017d110a
parent1f2ea7a020a1e2ecf4c732352fb348b62934bea9
net/rds: prioritize the base connection establishment

As of today, all the TOS connections can only be established after their
base connections are up.  This is due to the fact that TOS connections rely
on their base connections to perform route resolution. Nevertheless, when
all the connections drop/reconnect(e.g., ADDR_CHANGE event), the TOS
connections establishment consume the CPU resources by constantly retrying
the connection establishment until their base connections are up.

Thus, this patch delays all the TOS connections if their associated base
connections are not up. By doing so, the priority is given to the base
connections establishment. Consequently, the base connections can be
established faster and subsequent their associated TOS connections.

Orabug: 25521901

Signed-off-by: Wei Lin Guay <wei.lin.guay@oracle.com>
Reviewed-by: HÃ¥kon Bugge <haakon.bugge@oracle.com>
Reviewed-by: Ajaykumar Hotchandani <ajaykumar.hotchandani@oracle.com>
Tested-by: Dib Chatterjee <dib.chatterjee@oracle.com>
Tested-by: Rosa Isela Lopez Romero <rosa.lopez@oracle.com>
net/rds/connection.c
net/rds/ib_cm.c
net/rds/rds.h
net/rds/threads.c