Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7440551rwd; Tue, 6 Jun 2023 10:42:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6KWF/fHZSAorotwkX6uKzpWjHhtasDR4pf2E8uQ4E7EjT3/viZL/BKw+vP1UyU3IdioYHK X-Received: by 2002:a17:90a:2acb:b0:256:9b75:84cf with SMTP id i11-20020a17090a2acb00b002569b7584cfmr1356417pjg.6.1686073378733; Tue, 06 Jun 2023 10:42:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686073378; cv=none; d=google.com; s=arc-20160816; b=wPX1BaS2ghbyX/b96IOKKre+5X4HQf+/6hi6wo0O/UYGxMn/nP3nnfVqXhAzbow+qr HJWxL1F3fP6aeRfL8YcmMn82Hf0CWbGjsFBFUNvlwNLjSq5LbmADc7gcPWtZr4Zo10fR w7nPHff+UF1mEw3EeyD+Brj+Lmxo1Rmc7qpWD90qW8+NVlgFEzTAUPJrxEH6VJkFpc// q4UwC6uetaiU5vsreXJilpmMSLEwcjeB2EjedriOTAVGBHNIMKun0/fIM5XROQD5JQkz anYX6lpSkd8/YcOVoSooTMinI9WztUU2clBuoo+MaT9FHNy67/7ydZbr2Kr3geG+GVVG lLwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:cc:to:from :subject:dkim-signature; bh=+6WnYfcEILLFTudwT9hoJEBv9R+bWp3Xy7YrbivZRz4=; b=zLiRKfwruXKR1W7N0n1r0iNuANZhqZ1ieeU+Q7dNkh6fZEQIwTRp2lQiSTqNl0m5mA QU+1ioss9aACdjCYcwMD5HthpmQfA2F7oL7TrY1IH9O03SJR8HrbPYfMYZolhjueG8E2 ymuvKpo4Pw1ygulSfPRG7kGNL1Qd2FQo6qZdE2L602I4e1Mrr3obqOUmRWDvjwkkcI3V GwjeReSJ37qinzmVyqd6Sg7egigxZ2HCbAXR3btuVAb/KWoViK/WgwIhdQS+6uM5Kgqi HPDjFLHgO6UgVs1+toeJhzXnRcZApKm4IIJUyiLnheM0NEV9NKAXYlo2Y7LD1tf0MkfL LBnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="o3t/keUm"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b9-20020a63d809000000b005348f910e64si7735602pgh.693.2023.06.06.10.42.39; Tue, 06 Jun 2023 10:42:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="o3t/keUm"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233159AbjFFRdt (ORCPT + 99 others); Tue, 6 Jun 2023 13:33:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238712AbjFFRd1 (ORCPT ); Tue, 6 Jun 2023 13:33:27 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 317381707; Tue, 6 Jun 2023 10:33:26 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id AABBD6305C; Tue, 6 Jun 2023 17:33:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C336BC433EF; Tue, 6 Jun 2023 17:33:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686072805; bh=yXFi2/2FH/2B0iC3mHMSuEHuBGVTQgXcjPnxZDOEOI4=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=o3t/keUmgg9/Le8Csud8E9LxyZljh0FqYRYc2wXPAuC4ejS5u/HeG47Q+EiZzqWvN H8CFHi75H0eSSojaNPZGSCO/fh2bwmaqbVIysvr0zUwnlACwoQ8e+Jl+Te/y11Z6/V vBC27MsOUgsj6FFKYsu+Z1ljI96MTJzloNFMW7QUB199UgThGl4gkJn0xLSzqt7qQs nGNDZbL0KQ6pwIQI8rAgYhovP8/bKyVenWBiY1jWIVgBzNnC1quFiTqHNR0K0ihfy3 uCRf9sw1JZUDdR5LMe//y/xJiCYxkhEZAmVRTFbytaaBu9ogYAE183HbTxPCa2O7DA 3+q6r2dQbmihA== Subject: [PATCH v1 1/4] SUNRPC: Revert cc93ce9529a6 From: Chuck Lever To: linux-nfs@vger.kernel.org Cc: Chuck Lever , linux-rdma@vger.kernel.org, tom@talpey.com Date: Tue, 06 Jun 2023 13:33:23 -0400 Message-ID: <168607280379.2076.16904085572327572955.stgit@manet.1015granger.net> In-Reply-To: <168607259937.2076.15447551371235387735.stgit@manet.1015granger.net> References: <168607259937.2076.15447551371235387735.stgit@manet.1015granger.net> User-Agent: StGit/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org From: Chuck Lever Pre-requisite for releasing pages in the send completion handler. Signed-off-by: Chuck Lever --- net/sunrpc/xprtrdma/svc_rdma_sendto.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/net/sunrpc/xprtrdma/svc_rdma_sendto.c b/net/sunrpc/xprtrdma/svc_rdma_sendto.c index a35d1e055b1a..8e7ccef74207 100644 --- a/net/sunrpc/xprtrdma/svc_rdma_sendto.c +++ b/net/sunrpc/xprtrdma/svc_rdma_sendto.c @@ -975,11 +975,6 @@ int svc_rdma_sendto(struct svc_rqst *rqstp) ret = svc_rdma_send_reply_msg(rdma, sctxt, rctxt, rqstp); if (ret < 0) goto put_ctxt; - - /* Prevent svc_xprt_release() from releasing the page backing - * rq_res.head[0].iov_base. It's no longer being accessed by - * the I/O device. */ - rqstp->rq_respages++; return 0; reply_chunk: