From patchwork Wed Jan 2 22:42:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Schumaker, Anna" X-Patchwork-Id: 10746699 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A82B814E2 for ; Wed, 2 Jan 2019 22:42:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8D13A279E0 for ; Wed, 2 Jan 2019 22:42:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7F4162817F; Wed, 2 Jan 2019 22:42:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1A6AE279E0 for ; Wed, 2 Jan 2019 22:42:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726840AbfABWmi (ORCPT ); Wed, 2 Jan 2019 17:42:38 -0500 Received: from mail-eopbgr820071.outbound.protection.outlook.com ([40.107.82.71]:42880 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726146AbfABWmh (ORCPT ); Wed, 2 Jan 2019 17:42:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netapp.onmicrosoft.com; s=selector1-netapp-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=egYLRgNYhHWSjwnYHYQZvlNGThc2Jln8dM9GEf14gbc=; b=oVU6MkTzPx7pOSVKz6JEDGzU2jcDvsXcbnUxT7eMXEkzg7YreA73MyIHzGdmNExU3VCO+3BbCVfItlEV0myoVfGh9KsrYptw08iMkZW81oKZR1SP2CLrkMfpP/uib4nh1R/7Hijbz9ZCKrSC1GPxawh/s5xMaeBt6O9CR4NzolA= Received: from DM5PR06MB3161.namprd06.prod.outlook.com (10.174.240.148) by DM5PR06MB2697.namprd06.prod.outlook.com (10.168.199.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1495.6; Wed, 2 Jan 2019 22:42:32 +0000 Received: from DM5PR06MB3161.namprd06.prod.outlook.com ([fe80::e942:888d:b5bb:44fb]) by DM5PR06MB3161.namprd06.prod.outlook.com ([fe80::e942:888d:b5bb:44fb%5]) with mapi id 15.20.1495.005; Wed, 2 Jan 2019 22:42:32 +0000 From: "Schumaker, Anna" To: "torvalds@linux-foundation.org" CC: "linux-kernel@vger.kernel.org" , "linux-nfs@vger.kernel.org" Subject: [GIT PULL] Please pull NFS client updates for 4.21 Thread-Topic: [GIT PULL] Please pull NFS client updates for 4.21 Thread-Index: AQHUouxyssLuTL6Yhkqph5BlSbCk6Q== Date: Wed, 2 Jan 2019 22:42:32 +0000 Message-ID: <02d3ecd37f9390e7b8a7be8ec0e1cafb7fdbed26.camel@netapp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.30.3 x-originating-ip: [23.28.75.121] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR06MB2697;6:NNpJS7S+fXFD9zYesp9gvmy3KqCmx+DhAll6x4znlUPsYoLugHZhGHxJE3/Pzn1dozL/5la4qNq5hP/T0JjimoxElJ2uvO3I124mwdp0UJKyL9X8aRnhOlhbEF8HjzS11hvFBkvd3CgZjNxVpV7vf6Rk87tn9W0xaj1POljoUzjoqxqOT1kLzSUrmeNFMmYBuzJyIlFNlz1gzrsiPjOEiSdyntJp8IrJONoONnjxCUGPWFU0z2q+yXkEMy12Jl8VKB29Jv4eGmgDvUfA+LCnwFoWngSHEl4bSwYo807wU/qujg8RpwNNsXwNOf6CTIKsQUu4uQu9eUl7lNqxxcR7YOUPClyngr96FTeyFJYCOpYDytsw0lqO/9bmBcF7yXMmkOdenXJFMUOPwFrY9poLCtrSJDVTMoUX0bQWn+QmwKuXfIPu0CkZ+gZKJq5atEJARqOBZo6I7UZMgkXjQum3NQ==;5:uSOzOrsuT2TSCWg75VO9hlhVI8TKxVNpUXClu9pvuE1JEj4uZk/JxdjV5xtaFrzLsudhCZMxiw1ory7BEmW5Yll3wnDznOBOwF5IfAY+oUMJG0xLCy7locHi8vAlT2Ty0MiVmH/sbUTbNZ55OzFCfez5ThBZy13aqey0d0BQ4GnPYAS99kSBvgEz38jxqS2bpFv0K//gZdKyj076sMTFAw==;7:yOJKdJdo/pHDnnerWVj6gOIsUI3nho4nc1KcdW4kbmeWrs+XM8eaiQTzGiHZQbdiXvjcgLTA16Grc867yXRkrd5dM8skKo2M/o5xDoQY9MvavhwwRRFvm/CKcrz1MZTuuYvxWvSwMGMIpTzX6iDQgw== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 0b86c8c7-9c70-4bef-0187-08d67103957f x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(2017052603328)(7193020);SRVR:DM5PR06MB2697; x-ms-traffictypediagnostic: DM5PR06MB2697: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Anna.Schumaker@netapp.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(3230021)(908002)(999002)(5005026)(6040522)(8220060)(2401047)(8121501046)(3231475)(944501520)(52105112)(3002001)(93006095)(93001095)(10201501046)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123558120)(20161123562045)(20161123564045)(201708071742011)(7699051)(76991095);SRVR:DM5PR06MB2697;BCL:0;PCL:0;RULEID:;SRVR:DM5PR06MB2697; x-forefront-prvs: 0905A6B2C7 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(396003)(376002)(39860400002)(136003)(346002)(189003)(199004)(14444005)(58126008)(54906003)(14454004)(97736004)(6116002)(3846002)(86362001)(476003)(256004)(2616005)(36756003)(99286004)(102836004)(53936002)(118296001)(4326008)(68736007)(26005)(6506007)(2906002)(6512007)(5640700003)(6436002)(2501003)(105586002)(72206003)(7736002)(106356001)(305945005)(66066001)(8676002)(478600001)(8936002)(1730700003)(15650500001)(25786009)(81166006)(81156014)(2351001)(6916009)(316002)(4001150100001)(186003)(6486002)(71190400001)(486006)(5660300001)(71200400001);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR06MB2697;H:DM5PR06MB3161.namprd06.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: netapp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: EZ506GiTYi5B97X27g7M79G66jsHJ0G2xJVW4z9mafAMvlwi2s7IVDF12gdERKbmYJrgTTiQxYyiLBr2K8Z6CwRPaHUwuGDOEF2KAHo+eo5u/so85a899ApTOjFBVqmIfFLwpQ5jU5aShAIBxytdpmQez7zW9SEZjJ51QN3f2VFQVNF8VP9UDGUvcNTRh4jnV3CI0RFqRt6pwF1fToTWW0cTt5VtI5t9OQVqo0LVe/4Y4v/6ZBUjRh3mQ1Rb7cSMXP9luqOYkltAbtuBGZAI6oTBXJVQHnRJ8p4QfgojIYaJ1afJ0cEVq17z/AbpwURp spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-ID: <3AEEAD9D8272FF4FA79CE95B454B84FA@namprd06.prod.outlook.com> MIME-Version: 1.0 X-OriginatorOrg: netapp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0b86c8c7-9c70-4bef-0187-08d67103957f X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Jan 2019 22:42:32.5262 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4b0911a0-929b-4715-944b-c03745165b3a X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR06MB2697 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Linus, The following changes since commit abc13275771fac77e2d7b129c289522dacb644b6: SUNRPC: Remove xprt_connect_status() (2018-12-18 11:04:10 -0500) are available in the Git repository at: git://git.linux-nfs.org/projects/anna/linux-nfs.git tags/nfs-for-4.21-1 for you to fetch changes up to 260f71eff493a844531629854c0935fa8de4fa2c: sunrpc: convert to DEFINE_SHOW_ATTRIBUTE (2019-01-02 12:05:49 -0500) ---------------------------------------------------------------- Note that there is a conflict with the rdma tree in this pull request, since we delete a file that has been changed in the rdma tree. Hopefully that's easy enough to resolve! We also were unable to track down a maintainer for Neil Brown's changes to the generic cred code that are prerequisites to his RPC cred cleanup patches. We've been asking around for several months without any response, so hopefully it's okay to include those patches in this pull request. Stable bugfixes: - xprtrdma: Yet another double DMA-unmap # v4.20 Features: - Allow some /proc/sys/sunrpc entries without CONFIG_SUNRPC_DEBUG - Per-xprt rdma receive workqueues - Drop support for FMR memory registration - Make port= mount option optional for RDMA mounts Other bugfixes and cleanups: - Remove unused nfs4_xdev_fs_type declaration - Fix comments for behavior that has changed - Remove generic RPC credentials by switching to 'struct cred' - Fix crossing mountpoints with different auth flavors - Various xprtrdma fixes from testing and auditing the close code - Fixes for disconnect issues when using xprtrdma with krb5 - Clean up and improve xprtrdma trace points - Fix NFS v4.2 async copy reboot recovery Thanks, Anna ---------------------------------------------------------------- Ben Dooks (1): SUNRPC: allow /proc entries without CONFIG_SUNRPC_DEBUG Chris Perl (1): NFS: nfs_compare_mount_options always compare auth flavors. Chuck Lever (30): xprtrdma: Yet another double DMA-unmap xprtrdma: Ensure MRs are DMA-unmapped when posting LOCAL_INV fails xprtrdma: Refactor Receive accounting xprtrdma: Replace rpcrdma_receive_wq with a per-xprt workqueue xprtrdma: No qp_event disconnect xprtrdma: Don't wake pending tasks until disconnect is done xprtrdma: Fix ri_max_segs and the result of ro_maxpages xprtrdma: Reduce max_frwr_depth xprtrdma: Remove support for FMR memory registration xprtrdma: Remove rpcrdma_memreg_ops xprtrdma: Plant XID in on-the-wire RDMA offset (FRWR) NFS: Make "port=" mount option optional for RDMA mounts xprtrdma: Recognize XDRBUF_SPARSE_PAGES xprtrdma: Remove request_module from backchannel xprtrdma: Expose transport header errors xprtrdma: Simplify locking that protects the rl_allreqs list xprtrdma: Cull dprintk() call sites xprtrdma: Remove unused fields from rpcrdma_ia xprtrdma: Clean up of xprtrdma chunk trace points xprtrdma: Relocate the xprtrdma_mr_map trace points xprtrdma: Add trace points for calls to transport switch methods xprtrdma: Trace mapping, alloc, and dereg failures NFS: Fix NFSv4 symbolic trace point output SUNRPC: Simplify defining common RPC trace events SUNRPC: Fix some kernel doc complaints xprtrdma: Update comments in frwr_op_send xprtrdma: Replace outdated comment for rpcrdma_ep_post xprtrdma: Add documenting comment for rpcrdma_buffer_destroy xprtrdma: Don't leak freed MRs xprtrdma: Prevent leak of rpcrdma_rep objects J. Bruce Fields (2): sunrpc: handle ENOMEM in rpcb_getport_async sunrpc: convert unnecessary GFP_ATOMIC to GFP_NOFS NeilBrown (24): cred: add cred_fscmp() for comparing creds. cred: add get_cred_rcu() cred: export get_task_cred(). cred: allow get_cred() and put_cred() to be given NULL. SUNRPC: add 'struct cred *' to auth_cred and rpc_cred SUNRPC: remove groupinfo from struct auth_cred. SUNRPC: remove uid and gid from struct auth_cred SUNRPC: remove machine_cred field from struct auth_cred NFSv4: add cl_root_cred for use when machine cred is not available. NFSv4: don't require lock for get_renew_cred or get_machine_cred SUNRPC: discard RPC_DO_ROOTOVERRIDE() NFS/SUNRPC: don't lookup machine credential until rpcauth_bindcred(). SUNRPC: introduce RPC_TASK_NULLCREDS to request auth_none SUNRPC: add side channel to use non-generic cred for rpc call. NFS: move credential expiry tracking out of SUNRPC into NFS. SUNRPC: remove RPCAUTH_AUTH_NO_CRKEY_TIMEOUT NFS: change access cache to use 'struct cred'. NFS: struct nfs_open_dir_context: convert rpc_cred pointer to cred. NFS/NFSD/SUNRPC: replace generic creds with 'struct cred'. SUNRPC: remove generic cred code. SUNRPC: remove crbind rpc_cred operation SUNRPC: simplify auth_unix. SUNRPC discard cr_uid from struct rpc_cred. NFS: remove unnecessary test for IS_ERR(cred) Olga Kornievskaia (2): NFSv4: cleanup remove unused nfs4_xdev_fs_type NFSv4.2 fix async copy reboot recovery Pavel Tikhomirov (1): nfs: fix comment to nfs_generic_pg_test which does the opposite Santosh kumar pradhan (1): sunrpc: Add xprt after nfs4_test_session_trunk() Yangtao Li (1): sunrpc: convert to DEFINE_SHOW_ATTRIBUTE fs/lockd/clntproc.c | 6 +- fs/nfs/blocklayout/blocklayout.c | 2 +- fs/nfs/client.c | 9 +- fs/nfs/delegation.c | 28 +- fs/nfs/delegation.h | 10 +- fs/nfs/dir.c | 59 ++-- fs/nfs/flexfilelayout/flexfilelayout.c | 64 ++-- fs/nfs/flexfilelayout/flexfilelayout.h | 8 +- fs/nfs/flexfilelayout/flexfilelayoutdev.c | 16 +- fs/nfs/inode.c | 13 +- fs/nfs/internal.h | 15 +- fs/nfs/nfs3proc.c | 4 +- fs/nfs/nfs4_fs.h | 68 ++--- fs/nfs/nfs4client.c | 4 +- fs/nfs/nfs4proc.c | 158 +++++----- fs/nfs/nfs4renewd.c | 9 +- fs/nfs/nfs4session.c | 5 +- fs/nfs/nfs4state.c | 131 ++++----- fs/nfs/nfs4trace.h | 456 ++++++++++++++++++++--------- fs/nfs/pagelist.c | 4 +- fs/nfs/pnfs.c | 14 +- fs/nfs/pnfs.h | 10 +- fs/nfs/pnfs_dev.c | 4 +- fs/nfs/pnfs_nfs.c | 2 +- fs/nfs/proc.c | 2 +- fs/nfs/super.c | 13 +- fs/nfs/unlink.c | 20 +- fs/nfs/write.c | 24 +- fs/nfsd/nfs4callback.c | 31 +- fs/nfsd/state.h | 2 +- include/linux/cred.h | 26 +- include/linux/nfs_fs.h | 13 +- include/linux/nfs_fs_sb.h | 2 +- include/linux/nfs_xdr.h | 16 +- include/linux/sunrpc/auth.h | 51 +--- include/linux/sunrpc/clnt.h | 5 +- include/linux/sunrpc/sched.h | 6 +- include/trace/events/rpcrdma.h | 218 ++++++++++++-- include/trace/events/sunrpc.h | 172 +++++------ kernel/cred.c | 58 +++- net/sunrpc/Makefile | 2 +- net/sunrpc/auth.c | 116 ++++---- net/sunrpc/auth_generic.c | 293 ------------------ net/sunrpc/auth_gss/auth_gss.c | 47 +-- net/sunrpc/auth_gss/gss_mech_switch.c | 2 +- net/sunrpc/auth_null.c | 4 - net/sunrpc/auth_unix.c | 110 +++---- net/sunrpc/backchannel_rqst.c | 2 +- net/sunrpc/clnt.c | 29 +- net/sunrpc/rpc_pipe.c | 19 +- net/sunrpc/rpcb_clnt.c | 12 +- net/sunrpc/sched.c | 5 +- net/sunrpc/xprtmultipath.c | 4 +- net/sunrpc/xprtrdma/Makefile | 3 +- net/sunrpc/xprtrdma/backchannel.c | 39 +-- net/sunrpc/xprtrdma/fmr_ops.c | 337 --------------------- net/sunrpc/xprtrdma/frwr_ops.c | 209 ++++++++----- net/sunrpc/xprtrdma/rpc_rdma.c | 78 +++-- net/sunrpc/xprtrdma/svc_rdma_backchannel.c | 8 +- net/sunrpc/xprtrdma/transport.c | 91 +++--- net/sunrpc/xprtrdma/verbs.c | 255 +++++++--------- net/sunrpc/xprtrdma/xprt_rdma.h | 80 ++--- net/sunrpc/xprtsock.c | 10 +- 63 files changed, 1518 insertions(+), 1995 deletions(-) delete mode 100644 net/sunrpc/auth_generic.c delete mode 100644 net/sunrpc/xprtrdma/fmr_ops.c