From patchwork Mon Apr 5 16:34:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chuck Lever III X-Patchwork-Id: 12183257 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 376FEC433B4 for ; Mon, 5 Apr 2021 16:34:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F23A461398 for ; Mon, 5 Apr 2021 16:34:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238770AbhDEQez (ORCPT ); Mon, 5 Apr 2021 12:34:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:40690 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239097AbhDEQez (ORCPT ); Mon, 5 Apr 2021 12:34:55 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0559061398; Mon, 5 Apr 2021 16:34:47 +0000 (UTC) Subject: [PATCH v1 0/6] More xprtrdma fixes From: Chuck Lever To: linux-rdma@vger.kernel.org, linux-nfs@vger.kernel.org Date: Mon, 05 Apr 2021 12:34:47 -0400 Message-ID: <161764034907.29855.614994107807503843.stgit@manet.1015granger.net> User-Agent: StGit/0.23-29-ga622f1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org I found a number of crashers and other problems in the logic that manages MR-related completions during disconnection events. --- Chuck Lever (6): xprtrdma: rpcrdma_mr_pop() already does list_del_init() xprtrdma: Rename frwr_release_mr() xprtrdma: Clarify use of barrier in frwr_wc_localinv_done() xprtrdma: Do not recycle MR after FastReg/LocalInv flushes xprtrdma: Do not wake RPC consumer on a failed LocalInv xprtrdma: Avoid Send Queue wrapping include/trace/events/rpcrdma.h | 1 - net/sunrpc/xprtrdma/frwr_ops.c | 111 ++++++++++++++------------------ net/sunrpc/xprtrdma/rpc_rdma.c | 32 ++++++++- net/sunrpc/xprtrdma/verbs.c | 20 +----- net/sunrpc/xprtrdma/xprt_rdma.h | 3 +- 5 files changed, 82 insertions(+), 85 deletions(-) -- Chuck Lever