Whamcloud - gitweb
LU-9094 o2iblnd: kill timedout txs from ibp_tx_queue 76/25376/2
authorSergey Cheremencev <sergey.cheremencev@seagate.com>
Tue, 27 Dec 2016 20:29:52 +0000 (23:29 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 1 Mar 2017 05:10:47 +0000 (05:10 +0000)
commit824120da92fe8feb4b4308a136e33ec65fe3b635
tree7a7ca6cd9d3b95358018e45eea28c6a5f67fdf52
parentdab78a9efd05e4f22fc83232bdadce347d3dafda
LU-9094 o2iblnd: kill timedout txs from ibp_tx_queue

Sometimes connection can't be established for a long time
due to rejections and produces cycle of reconnections.
Peer is not removed in each iteration unlike connection.
Thus until connection becomes established txs live in
peer->ibp_tx_queue. This patch adds tx_deadline checking
for txs from peer tx_queue.

Change-Id: Id2623285c735d1dff40ec755a5c8d20e9c62e60a
Signed-off-by: Sergey Cheremencev <sergey.cheremencev@seagate.com>
Seagate-bug-id: MRP-4056
Reviewed-on: https://review.whamcloud.com/25376
Tested-by: Jenkins
Reviewed-by: Doug Oucharek <doug.s.oucharek@intel.com>
Reviewed-by: Amir Shehata <amir.shehata@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/klnds/o2iblnd/o2iblnd_cb.c