Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2759706rdb; Mon, 4 Dec 2023 06:56:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IG4deHPeuvBJb1ScW6SO4uXhrcii6ftoE8gNJq4u5MybwpBY3K4O+KfdqeY/knak7tix6E1 X-Received: by 2002:a05:6214:711:b0:66d:59da:d225 with SMTP id c17-20020a056214071100b0066d59dad225mr4596290qvz.15.1701701782667; Mon, 04 Dec 2023 06:56:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701701782; cv=none; d=google.com; s=arc-20160816; b=etSjnsrJnKpT3yL0X0w46SRKEepfVgMqYyGNCBoVpww70uZcRR0oy8B9MFmfhrVyoL x+kNm+s+BydDLAwlJlE/nTuevz7DGFq8TCcXqjFu7s2V5PWy3LMFToQKQNHV36edv0Kn iA3a2DhK2Wr49yy3y05VvJQtXD2CO8AsjXyWfiW8T9vr3L1mkYNLu1E4BdtPbDL94HBw H7BBm0W0h9WcLTidFldRMo7IqYA7iTolXDx6T8ddMWrqs+uQpfbGrui7DDCLXP3/DEV/ +vz7Vv+sRqTcgcwno5FpyCPF/spuuETaQvU3mLo83sh+vAozZZdIYV8OcHCM5YCc2KjS aNFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:user-agent:message-id:date:cc:to :from:subject:dkim-signature; bh=KFc4tx9EfUDx09EEqHbnGwnwdDdEhRxL+5/nIqCp5Vc=; fh=WfGVbliYpqgzl5GprTVUBQR8rnRPHqjfX8LKlqDYYGk=; b=GsetPcGxdR8uvAufkukRVhZRtMFsE6ikOcGsDVmayBVfyzCl78rWhQeoG79YlW7Gsn JeTXT3a1Kz9O4E8565uZUC/rhr9pS+0ze5naA156ATwC8SVymwH8VeKz7/5yQgIkcvOd fWs7SLWR5qVfCPKOyANrWaPlmNXa/fNZidqkTAkfoTnihp263NINzMErX02TBxeSQuKR UNPwZ9Co3mYnwoP+oGGCfwUQsKDwx9iS6ic0XEAG+ZYGIhSRVNNibb2Hf0x8c7sj0G91 lTqrTsDZCp/y7f7kT0Fp3W6vuBqmY7EbLu1UsWROd4U+xlFV+Ssn1Jz9sL+DNBktiS8a W82w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oE6cMbPy; spf=pass (google.com: domain of linux-nfs+bounces-275-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-275-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id kd23-20020a056214401700b0067abb8603bcsi3642553qvb.553.2023.12.04.06.56.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 06:56:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs+bounces-275-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oE6cMbPy; spf=pass (google.com: domain of linux-nfs+bounces-275-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-275-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 56E1A1C2093E for ; Mon, 4 Dec 2023 14:56:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 59A93286B3; Mon, 4 Dec 2023 14:56:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="oE6cMbPy" X-Original-To: linux-nfs@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3A05B22EEE; Mon, 4 Dec 2023 14:56:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7816AC433C8; Mon, 4 Dec 2023 14:56:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701701779; bh=M/LsVaErmnRZLQ1DWNk6syN2GlSq1DE/S8OHoXQ883U=; h=Subject:From:To:Cc:Date:From; b=oE6cMbPyjR/lg5sY+LD8dXqvfeX0YEeT6Gh/mwkfE7/YGyd4blchKhckzx5jASNih ZyKyVsoSrZoNJguUnuVs5rGdW68jsWT/4Ryb6bWj4wd9HS7dDZCBjlZ+03js4rSizS f2UeTdqZwzHBrSBsfiZXBZ+3YyJMBo6Fp4dyT6voLONADuLIoTrtzlvK5j7fjcHuGg e1TFU7xolyyrXWnHxvP+3YfXZfHktzDl0esWPmkbEo3jlT+Nj413IWa3muvcwndxXa 44h8+tqVyK1T6ZoBEpRxHCok2E35NVHYgIE0STb7GuWgBBpJlG5qKv8KB0i81mFIDt 3w7Oy0GXwGG+w== Subject: [PATCH v1 00/21] svc_rdma_read_info clean ups From: Chuck Lever To: linux-nfs@vger.kernel.org, linux-rdma@vger.kernel.org Cc: tom@talpey.com Date: Mon, 04 Dec 2023 09:56:18 -0500 Message-ID: <170170144201.54779.9877683240030806819.stgit@bazille.1015granger.net> User-Agent: StGit/1.5 Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit These patches are in preparation for more substantial changes to how Read chunks are managed by svcrdma. There are a lot of patches in this series, but each change is narrow and no external behavior changes are expected. The main benefit of this series is that svc_rdma_read_info is no longer dynamically allocated. --- Chuck Lever (21): svcrdma: Reduce size of struct svc_rdma_rw_ctxt svcrdma: Acquire the svcxprt_rdma pointer from the CQ context svcrdma: Explicitly pass the transport into Write chunk I/O paths svcrdma: Explicitly pass the transport into Read chunk I/O paths svcrdma: Explicitly pass the transport to svc_rdma_post_chunk_ctxt() svcrdma: Pass a pointer to the transport to svc_rdma_cc_release() svcrdma: Remove the svc_rdma_chunk_ctxt::cc_rdma field svcrdma: Move struct svc_rdma_chunk_ctxt to svc_rdma.h svcrdma: Start moving fields out of struct svc_rdma_read_info svcrdma: Move svc_rdma_read_info::ri_pageno to struct svc_rdma_recv_ctxt svcrdma: Move read_info::ri_pageoff into struct svc_rdma_recv_ctxt svcrdma: Update synopsis of svc_rdma_build_read_segment() svcrdma: Update synopsis of svc_rdma_build_read_chunk() svcrdma: Update synopsis of svc_rdma_read_chunk_range() svcrdma: Update the synopsis of svc_rdma_read_data_item() svcrdma: Update synopsis of svc_rdma_copy_inline_range() svcrdma: Update synopsis of svc_rdma_read_multiple_chunks() svcrdma: Update the synopsis of svc_rdma_read_call_chunk() svcrdma: Update the synopsis of svc_rdma_read_special() svcrdma: Remove struct svc_rdma_read_info svcrdma: Move the svc_rdma_cc_init() call include/linux/sunrpc/svc_rdma.h | 30 +++ net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 1 + net/sunrpc/xprtrdma/svc_rdma_rw.c | 310 +++++++++++------------- 3 files changed, 169 insertions(+), 172 deletions(-) -- Chuck Lever