From 793f9a033b214c64b72c657c7b45048ee9f3c41b Mon Sep 17 00:00:00 2001 From: maxim Date: Fri, 5 Sep 2008 19:12:26 +0000 Subject: [PATCH] b=16308 i=isaac i=liang Conf-sanity test_32a couldn't stop ost and mds because it tried to access non-existent peer and tcp connect took quite long before timing out. The patch flushes txs pinned to a peer even if it's still in "connecting" state. --- lnet/klnds/socklnd/socklnd.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lnet/klnds/socklnd/socklnd.h b/lnet/klnds/socklnd/socklnd.h index e3290ba..07ad53b 100644 --- a/lnet/klnds/socklnd/socklnd.h +++ b/lnet/klnds/socklnd/socklnd.h @@ -209,6 +209,7 @@ typedef struct /* transmit packet */ lnet_kiov_t *tx_kiov; /* packet page frags */ struct ksock_conn *tx_conn; /* owning conn */ lnet_msg_t *tx_lnetmsg; /* lnet message for lnet_finalize() */ + cfs_time_t tx_deadline; /* when (in jiffies) tx times out */ ksock_msg_t tx_msg; /* socklnd message buffer */ int tx_desc_size; /* size of this descriptor */ union { -- 1.8.3.1