From patchwork Wed Aug 10 15:22:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trond Myklebust X-Patchwork-Id: 12940690 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5B75DC00140 for ; Wed, 10 Aug 2022 15:24:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233113AbiHJPX7 (ORCPT ); Wed, 10 Aug 2022 11:23:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233338AbiHJPXj (ORCPT ); Wed, 10 Aug 2022 11:23:39 -0400 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on20716.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe5a::716]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8D5666A71; Wed, 10 Aug 2022 08:23:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QYpvnhWMfptUx1D4nUKViw7hDArZuOAOfGfdCmwC0mmLvQebU7uTaA5YUFvBW8bU3YzgxJLonqr18mFf8fDF+Gyry3G5w2QdZ5FnLDY9tpU3bsyX7w+1smX4hE3UM0vNMuClm7fxXK+V8TXFgsq01E8JgIKx0yFNiZW5oZWMkyzzuACcAxcj9rMj0l8vDDDWzYjCYgFi/gmi7w6ye6IpNyuClpaVn6vhLWhtFQ/XEGUD/u9tfHPJxw1u31csh0wWph9HWKNXZPSu6TJzZDooCRxWXUbuYeyFnGx75flYjSkdnn7Aut56CxgEOgiLL3TZuIXp+1xzmgL5BlldHKWZlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=b9AiKxlzJQVngdxrNDROnC6Hs2G2eDlmC36PKxzWNHI=; b=KJP2Q7NXk5Hbbk6ZCUNFRXADgJb79DZ2o/jMmBbrwL2D6sdvncSkPVGn3Yg3MPHCB6p3bMqFd6G3FkS6Tq2cgbbpp+nJhT87FCjG9ZltYUbae+eDrq4RDoHZ2GB5Hfy5EyBnDl5TkWpJvNr/3m6+508RyrfaL28Ohph9Fy+L+Pr3iPro8F0/6l5cuwILC1ikm2jRgb+dQ/bTIoSc0N0j0RK/kgFBfv1LV6Aj/umzzVlQSHaVVpM4d88iDW1pqVfJjCtEZ7weqVrqq+m+CQcPzw1M3lLCQCNMmx4xvBp35YyVgDKKA7n4wYL6Vb4OjJEzic6CLtp5mdph8VW/qS9WIg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hammerspace.com; dmarc=pass action=none header.from=hammerspace.com; dkim=pass header.d=hammerspace.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hammerspace.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=b9AiKxlzJQVngdxrNDROnC6Hs2G2eDlmC36PKxzWNHI=; b=URnFhvrY5MNQ+mvND7SC2HhRZX0tGTJjfJfG7KxAqZ5k6xwqn5qJAO/gwOu0mU3/V5IUYAqG5ELNi01HKBaI1NPHHW38i7NJ25PAi7IxK9MqbTd7DUUDH9EM71p5QO7rJa6b939Ji5slri1x/+s45wjXKvsJYjVMUXIzp9beWWg= Received: from CH0PR13MB5084.namprd13.prod.outlook.com (2603:10b6:610:111::7) by SN6PR13MB4237.namprd13.prod.outlook.com (2603:10b6:805:e::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.16; Wed, 10 Aug 2022 15:22:40 +0000 Received: from CH0PR13MB5084.namprd13.prod.outlook.com ([fe80::6dcb:fcd2:921b:9035]) by CH0PR13MB5084.namprd13.prod.outlook.com ([fe80::6dcb:fcd2:921b:9035%9]) with mapi id 15.20.5525.009; Wed, 10 Aug 2022 15:22:40 +0000 From: Trond Myklebust To: "torvalds@linux-foundation.org" CC: "linux-nfs@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: [GIT PULL] Please pull NFS client updates for Linux 5.20 Thread-Topic: [GIT PULL] Please pull NFS client updates for Linux 5.20 Thread-Index: AQHYrM0H5jD0S3u1vkO/H9EVfCCTcg== Date: Wed, 10 Aug 2022 15:22:40 +0000 Message-ID: <57be8df581f3ec5face513ad7053d3a5121e1017.camel@hammerspace.com> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=hammerspace.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 45d538b5-29fe-4a01-ca7a-08da7ae42a00 x-ms-traffictypediagnostic: SN6PR13MB4237:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: InFm7GUcGF0yqp9025G5GNk2TTWB8rP4mCA7s6UvuQsH+pQZqJ0p52Nn5PNKOnTdudzBwfAQ2AVb1WqG0m4KrUF+kjgeFwJ5e5USZufDkRXipKtES8SSaF2jV1XhKZEEJ/FjXZzoafSzAwNzVriVU7XPLxUyET7la4WTRWWlU8bXMDy4uM5QPdnuuZDh/CV4p9R3UR03Oo2ntX5KSicM3XKfCCYhLajiTXMCrkHywtvEA+QB/iZqtaAKBFTbt9wVmIuKHK6JokrtLKHO/gPvlqd4x7kOvY10wIKOvUCxjU5huTaWfYG9dAgn7ETEmAovDwBVUul60Fjztrz3iZcJJKyAfnMxEpZlynagO2cOj4mUugrGZYC8T84aYP4Eu9hwEgm7vpHtrJLU/k2vAQEQyIEF29DKaqdHw0moT79iiLHxxgyouq/VmjQJ2UE1ebNmmIWNuj6fsHmK0NFpQE+DMGUhckLxZIRaG5EKoKwSXEYmvkCAJGp6SIAbSS5zAoQ+lehWOjNk8ciaAeqXdSaGeOtX7X0g/89yFoAHIAbJqZ7wrINExzzd+In7hQipwWOHBe0hjw2vXwV6CXRgokQxLo4OgEOzXavpf0g712/W4BMmeLSb2iqxUVbRJM3teAUmZT/ZwnR1RWHW/ah41zExE/tWvj9aXtAZ4P1maiSKzAmnR3Oob7FJgeLj8oSBtgarvKTUdTIhNF2KtSr8WlFx97LrPlDT0Ge+trWUXbVSFNIrZhPXapjqBfsuC5URWnGrl9BWoQAElWn06uLhz6Ymh48HAznYyQRpz5TF+13GoF8c3nqcrzqXaXA9+tfeG75O x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH0PR13MB5084.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(396003)(136003)(39840400004)(366004)(376002)(346002)(8936002)(5660300002)(15650500001)(2906002)(316002)(4326008)(76116006)(64756008)(66946007)(66476007)(66446008)(6486002)(66556008)(8676002)(54906003)(478600001)(6916009)(71200400001)(41300700001)(122000001)(86362001)(6512007)(6506007)(38100700002)(26005)(2616005)(36756003)(38070700005)(186003)(83380400001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?q?7iw9AHyk+kARqfiXhvtzpqAEExGW?= =?utf-8?q?SSoh7oib/PQ3XD9+x9AP/V7WRH1o8YJ1x0JB+8GSiDAk94BVLrCOZuXsHslOLwkUR?= =?utf-8?q?L2luxuqO8TdmvhuVN+kMw+B9gU7pT08p2Z+mfG2FNCSYNlaWNaneDi7nEDEJFxwYJ?= =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lfD4pG1KpTzfHongn2pnfeMOXYFOYqYkZB7/tjpNjO6HgHY4po/vIsPRhqtLFhGl?= =?utf-8?q?Fa+Ibfy5B2sCVVdnM+hnKek9bYUCPCqW0Cnpa+2Z9i//VbV3LDNZEF/nf4jtSKRry?= =?utf-8?q?81Wdb0IxROFmIxixneKY5VqxR57ca395kptx0kr+GQDepsG9ZFqwSybathXSqtEMD?= =?utf-8?q?UvBud+o/I5NasvM1zoCXBGdHLonn6UMYTFUcSZiK0LITKB5C4NV4zRWaQ+QXlP8Aa?= =?utf-8?q?wz7QxUiDt2AFxDLAhKSFECc577E+mMsNhp7uoUJIsRqo/HxcLg57LIPtg0/GhZo3d?= =?utf-8?q?bOxDUjdbOaHoS/fEvpdwDlZVadJNy1ZlFml3cJQrODsczFr41gApE90XRnl1eCPFh?= =?utf-8?q?UfjsmbRhwe4OVBD9KsGJVS6tOJBcUv4V9R6bY/CW+Lvrvd8+lFYH9/LE272I+s5jn?= =?utf-8?q?/RZzrAA77ABv+6iC6436e8Aa/AofmBQqVrSPHSa9T5UhlKuefWno466UcmnR9fiVY?= =?utf-8?q?B+8XGCenuQxykbUZ/rkGwz9+HsdO4s7EEA=3D=3D?= Content-ID: <8E705539F5070847BD34E5868C00F1C0@namprd13.prod.outlook.com> MIME-Version: 1.0 X-OriginatorOrg: hammerspace.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH0PR13MB5084.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 45d538b5-29fe-4a01-ca7a-08da7ae42a00 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Aug 2022 15:22:40.1548 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 0d4fed5c-3a70-46fe-9430-ece41741f59e X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 0Fe+cjgVXtvKtWKkdvNb9Y4l/LCLxk5SyY6W9KKXQsY8DGahk0kklYoC8he1pNA52pm+UUr9c8tcvp+Pcm+GtA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR13MB4237 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Hi Linus, The following changes since commit 32346491ddf24599decca06190ebca03ff9de7f8: Linux 5.19-rc6 (2022-07-10 14:40:51 -0700) are available in the Git repository at: git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-5.20-1 for you to fetch changes up to 3fa5cbdc44de190f2c5605ba7db015ae0d26f668: NFS: Improve readpage/writepage tracing (2022-08-09 14:11:34 -0400) Cheers, Trond ---------------------------------------------------------------- NFS client updates for Linux 5.20 Highlights include: Stable fixes: - pNFS/flexfiles: Fix infinite looping when the RDMA connection errors out Bugfixes: - NFS: fix port value parsing - SUNRPC: Reinitialise the backchannel request buffers before reuse - SUNRPC: fix expiry of auth creds - NFSv4: Fix races in the legacy idmapper upcall - NFS: O_DIRECT fixes from Jeff Layton - NFSv4.1: Fix OP_SEQUENCE error handling - SUNRPC: Fix an RPC/RDMA performance regression - NFS: Fix case insensitive renames - NFSv4/pnfs: Fix a use-after-free bug in open - NFSv4.1: RECLAIM_COMPLETE must handle EACCES Features: - NFSv4.1: session trunking enhancements - NFSv4.2: READ_PLUS performance optimisations - NFS: relax the rules for rsize/wsize mount options - NFS: don't unhash dentry during unlink/rename - SUNRPC: Fail faster on bad verifier - NFS/SUNRPC: Various tracing improvements ---------------------------------------------------------------- Anna Schumaker (6): NFS: Allow setting rsize / wsize to a multiple of PAGE_SIZE SUNRPC: Introduce xdr_stream_move_subsegment() SUNRPC: Add a function for directly setting the xdr page len SUNRPC: Add a function for zeroing out a portion of an xdr_stream NFS: Replace the READ_PLUS decoding code SUNRPC: Remove xdr_align_data() and xdr_expand_hole() ChenXiaoSong (1): NFS: remove redundant code in nfs_file_write() Christoph Hellwig (1): nfs/blocklayout: refactor block device opening Chuck Lever (3): SUNRPC: Fail faster on bad verifier SUNRPC: Replace dprintk() call site in xs_data_ready NFS: Replace fs_context-related dprintk() call sites with tracepoints Dan Aloni (1): sunrpc: fix expiry of auth creds Fabio M. De Francesco (1): nfs: Replace kmap() with kmap_local_page() Ian Kent (1): nfs: fix port value parsing Jeff Layton (3): nfs: add new nfs_direct_req tracepoint events nfs: always check dreq->error after a commit nfs: only issue commit in DIO codepath if we have uncommitted data NeilBrown (1): NFS: don't unhash dentry during unlink/rename Olga Kornievskaia (11): SUNRPC expose functions for offline remote xprt functionality SUNRPC add function to offline remove trunkable transports NFSv4.1 offline trunkable transports on DESTROY_SESSION SUNRPC create an iterator to list only OFFLINE xprts SUNRPC enable back offline transports in trunking discovery SUNRPC create an rpc function that allows xprt removal from rpc_clnt NFSv4.1 remove xprt from xprt_switch if session trunking test fails SUNRPC restructure rpc_clnt_setup_test_and_add_xprt SUNRPC export xprt_iter_rewind function SUNRPC create a function that probes only offline transports NFSv4.1 probe offline transports for trunking on session creation Trond Myklebust (16): SUNRPC: Fix an RPC/RDMA performance regression Revert "pNFS: nfs3_set_ds_client should set NFS_CS_NOPING" pNFS/flexfiles: Report RDMA connection errors to the server pNFS/files: Handle RDMA connection errors correctly NFS: Fix case insensitive renames NFSv4.1: Don't decrease the value of seq_nr_highest_sent NFSv4.1: Handle NFS4ERR_DELAY replies to OP_SEQUENCE correctly NFSv4: Fix races in the legacy idmapper upcall SUNRPC: Shrink size of struct rpc_task SUNRPC: Reinitialise the backchannel request buffers before reuse SUNRPC: Don't reuse bvec on retransmission of the request NFS: nfs_async_write_reschedule_io must not recurse into the writeback code NFSv4/pnfs: Fix a use-after-free bug in open NFS: Improve write error tracing NFS: Improve O_DIRECT tracing NFS: Improve readpage/writepage tracing Zhang Xianwei (1): NFSv4.1: RECLAIM_COMPLETE must handle EACCES fs/nfs/blocklayout/dev.c | 42 ++---- fs/nfs/client.c | 13 +- fs/nfs/dir.c | 80 ++++++++--- fs/nfs/direct.c | 50 +++---- fs/nfs/file.c | 2 - fs/nfs/filelayout/filelayout.c | 2 + fs/nfs/flexfilelayout/flexfilelayout.c | 4 + fs/nfs/flexfilelayout/flexfilelayoutdev.c | 6 +- fs/nfs/fs_context.c | 26 ++-- fs/nfs/internal.h | 51 +++++++ fs/nfs/nfs3client.c | 1 - fs/nfs/nfs42xdr.c | 170 +++++++++++------------ fs/nfs/nfs4client.c | 4 +- fs/nfs/nfs4idmap.c | 46 ++++--- fs/nfs/nfs4proc.c | 32 +++-- fs/nfs/nfstrace.h | 215 ++++++++++++++++++++++++------ fs/nfs/write.c | 58 ++++---- include/linux/nfs_fs.h | 9 ++ include/linux/nfs_page.h | 3 +- include/linux/nfs_xdr.h | 1 + include/linux/sunrpc/clnt.h | 5 + include/linux/sunrpc/sched.h | 4 +- include/linux/sunrpc/xdr.h | 7 +- include/linux/sunrpc/xprt.h | 6 +- include/linux/sunrpc/xprtmultipath.h | 7 +- include/trace/events/sunrpc.h | 20 +++ net/sunrpc/auth.c | 2 +- net/sunrpc/auth_gss/auth_gss.c | 11 +- net/sunrpc/backchannel_rqst.c | 14 ++ net/sunrpc/clnt.c | 207 ++++++++++++++++++++++++---- net/sunrpc/sched.c | 1 + net/sunrpc/sysfs.c | 28 +--- net/sunrpc/xdr.c | 168 ++++++++++++++--------- net/sunrpc/xprt.c | 59 ++++++-- net/sunrpc/xprtmultipath.c | 111 ++++++++++++--- net/sunrpc/xprtrdma/transport.c | 6 +- net/sunrpc/xprtsock.c | 18 +-- 37 files changed, 1032 insertions(+), 457 deletions(-)