From: nic Date: Wed, 3 Nov 2004 23:09:31 +0000 (+0000) Subject: b=4012 X-Git-Tag: v1_8_0_110~486^5~125 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=b07a0cd9962f6ecf75feb23a9334e24a63fa3b76;p=fs%2Flustre-release.git b=4012 revert addition of 4012, as it caused QSW errors on ia64/Lester --- diff --git a/lustre/portals/knals/qswnal/qswnal_cb.c b/lustre/portals/knals/qswnal/qswnal_cb.c index ef9fd55..97b5a26 100644 --- a/lustre/portals/knals/qswnal/qswnal_cb.c +++ b/lustre/portals/knals/qswnal/qswnal_cb.c @@ -995,8 +995,6 @@ kqswnal_rdma (kqswnal_rx_t *krx, lib_msg_t *libmsg, int type, #endif if (eprc != EP_SUCCESS) { CERROR("ep_rpc_get failed: %d\n", eprc); - /* don't attempt RPC completion */ - krx->krx_rpc_reply_needed = 0; rc = -ECONNABORTED; } break; @@ -1584,12 +1582,11 @@ kqswnal_rxhandler(EP_RXD *rxd) krx->krx_state = KRX_PARSE; krx->krx_rxd = rxd; krx->krx_nob = nob; - - /* RPC reply iff rpc request received without error */ - krx->krx_rpc_reply_needed = ep_rxd_isrpc(rxd) && - !(status == EP_SUCCESS || - status == EP_MSG_TOO_BIG); - +#if MULTIRAIL_EKC + krx->krx_rpc_reply_needed = (status != EP_SHUTDOWN) && ep_rxd_isrpc(rxd); +#else + krx->krx_rpc_reply_needed = ep_rxd_isrpc(rxd); +#endif /* Default to failure if an RPC reply is requested but not handled */ krx->krx_rpc_reply_status = -EPROTO; atomic_set (&krx->krx_refcount, 1);