Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp4390619pxb; Tue, 10 Nov 2020 15:33:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJyRBCw1t7WfYwpODjVQpGcG+BRt0Xyal3KCF/FBgj2dsR6SB2Xmhyj/1Rvc7wOYL6qA2dIg X-Received: by 2002:a17:906:1186:: with SMTP id n6mr11074508eja.89.1605051203107; Tue, 10 Nov 2020 15:33:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605051203; cv=none; d=google.com; s=arc-20160816; b=u9B7rGukUG2aDKOFjJasLpV4ygN6pBJut5kh0UG8hMUReOn5MY5BTgjGslzm+inNsP IiwemJ3fRmk9xX5GqVZ9g6o4tJYzF+cvH5JIEKFgVerkBXjOxMNYxGpiy7b/zMZoeCW7 VkntGazEXVezrOsO3X7R3b0ybVLVFIF8uplgXgg/wAiNfnQoe0mht4n7YpLmHnxUySJ3 qkPmLmbk7Ncd6QzTAhICYSvFg23v2wo1viRsuR66FTrf9SyecfI4gzf+j/Ah7nW/6qIA XmVLKTFA5uNvwQ2ey7jYA6W7JM1/IJoyV3uNqkYqHxnNoL1bn4NBuX8PFm2qS6s2ZGcB 7FMA== 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 :message-id:date:subject:to:from:dkim-signature; bh=dPieVFdGTAYHQMf+JQHqFyVctKeRDKSypaN+IYNqMSM=; b=STZWoct/L65+myMR26Q+vd4CIbIxb9HH9wUXFUnLbEecBGQye4Y8mr46KFBAZ/VQ3h /ZoMtNujrVp9yKutOzeZ+qy/xumLb08fHRnCTMwVwOVvCA3vZQFUv+UzqJMRmz/NZbu9 LQRcqQcgFAPuKU5obH/8BNsayOIGhPwIVIjixrJyajIc6RXIEmxxB9+ZJr4Z1R1H59HV UdCXzGW99O74QNzyRq2mgGv+Sq4NxdAMYNHJ9SUsI39jHJ9EKhRxpJfhFjKSxCTExPFi OJ18rtYP3gAZ/H1LAG+mtiGsqel9y5vGXDam36R++18/h7MPDgL64KvZokSULHoG/2H/ ShIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="xKKIN/+G"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b14si180805edz.1.2020.11.10.15.32.48; Tue, 10 Nov 2020 15:33:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="xKKIN/+G"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 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 S1732013AbgKJX3V (ORCPT + 99 others); Tue, 10 Nov 2020 18:29:21 -0500 Received: from mail.kernel.org ([198.145.29.99]:39140 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726737AbgKJX3T (ORCPT ); Tue, 10 Nov 2020 18:29:19 -0500 Received: from localhost.localdomain (c-68-36-133-222.hsd1.mi.comcast.net [68.36.133.222]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E22ED20781 for ; Tue, 10 Nov 2020 23:29:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605050958; bh=hStNH2bnjnwhkxmPkjxdG2aH8abWmgNQm7Z6jtpiHZM=; h=From:To:Subject:Date:From; b=xKKIN/+GWNv7T0YEtEn5a4QBJRd5DMZXvW/oM8xDQGXQsG+kmfSSoIu69CYUjF+3u rtmvAJEKaNDe5w59x3mKHsYfGcxRAXa3jf8tH1A9QOEWBJnH5dSr5DFgUIb3mSl4nB I7bRjNIjUEdweuPhoKN24JaYrxmS6q+BNK7xoY2Q= From: trondmy@kernel.org To: linux-nfs@vger.kernel.org Subject: [PATCH v3 00/11] Add RDMA support to the pNFS file+flexfiles data channels Date: Tue, 10 Nov 2020 18:18:55 -0500 Message-Id: <20201110231906.863446-1-trondmy@kernel.org> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org From: Trond Myklebust Add support for connecting to the pNFS files/flexfiles data servers through RDMA, assuming that the GETDEVICEINFO call advertises that support. v2: Fix layoutstats encoding for pNFS/flexfiles. v3: Move most of the netid handling into the SUNRPC and RDMA modules. Fix up the mount code to benefit more from automated loading of SUNRPC transport modules. Trond Myklebust (11): SUNRPC: xprt_load_transport() needs to support the netid "rdma6" SUNRPC: Close a race with transport setup and module put SUNRPC: Add a helper to return the transport identifier given a netid NFS: Switch mount code to use xprt_find_transport_ident() SUNRPC: Remove unused function xprt_load_transport() NFSv4/pNFS: Use connections to a DS that are all of the same protocol family pNFS: Add helpers for allocation/free of struct nfs4_pnfs_ds_addr NFSv4/pNFS: Store the transport type in struct nfs4_pnfs_ds_addr pNFS/flexfiles: Fix up layoutstats reporting for non-TCP transports SUNRPC: Fix up open coded kmemdup_nul() pNFS: Clean up open coded xdr string decoding fs/nfs/flexfilelayout/flexfilelayout.c | 9 +- fs/nfs/fs_context.c | 21 +++-- fs/nfs/pnfs.h | 2 + fs/nfs/pnfs_nfs.c | 103 ++++++++++------------ include/linux/sunrpc/xprt.h | 3 +- net/sunrpc/xdr.c | 4 +- net/sunrpc/xprt.c | 117 ++++++++++++++++++------- net/sunrpc/xprtrdma/module.c | 1 + net/sunrpc/xprtrdma/transport.c | 1 + net/sunrpc/xprtsock.c | 4 + 10 files changed, 159 insertions(+), 106 deletions(-) -- 2.28.0