From: Chuck Lever Date: Tue, 29 Jul 2014 21:24:01 +0000 (-0400) Subject: xprtrdma: Don't invalidate FRMRs if registration fails X-Git-Tag: omap-for-v3.17/fixes-against-rc2~82^2~24^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=539431a437d2e5d6d94016184dfc0aab263c01e1;p=pandora-kernel.git xprtrdma: Don't invalidate FRMRs if registration fails If FRMR registration fails, it's likely to transition the QP to the error state. Or, registration may have failed because the QP is _already_ in ERROR. Thus calling rpcrdma_deregister_external() in rpcrdma_create_chunks() is useless in FRMR mode: the LOCAL_INVs just get flushed. It is safe to leave existing registrations: when FRMR registration is tried again, rpcrdma_register_frmr_external() checks if each FRMR is already/still VALID, and knocks it down first if it is. Signed-off-by: Chuck Lever Tested-by: Steve Wise Tested-by: Shirley Ma Tested-by: Devesh Sharma Signed-off-by: Anna Schumaker --- Reading git-diff-tree failed