]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDS: give up on half formed connections after 15s
authorChris Mason <chris.mason@oracle.com>
Fri, 3 Feb 2012 16:07:54 +0000 (11:07 -0500)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 7 Jul 2015 23:41:29 +0000 (16:41 -0700)
commitd783cad5b5f03d845788e04114df93ba7cda42a9
treeee3004e41e364c25bc5bc1955d1e35a1d09a4bf8
parent4d8fa5b3e970f490ecc7d1a4ef3c5109c8f9a7e3
RDS: give up on half formed connections after 15s

RDS relies on events to transition connections through a few
different states, but sometimes we get stuck and end up with
a half formed connection that is never able to finish

The other end has either wandered off or there are bugs in
other layers, and we end up with any future attempts from
the other end rejected because we're already working on a
connection attempt.

This patch changes things to give up on half formed connections
after 15 seconds.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
Signed-off-by: Bang Nguyen <bang.nguyen@oracle.com>
net/rds/ib_cm.c
net/rds/rds.h
net/rds/threads.c