From patchwork Fri Nov 29 19:27:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trond Myklebust X-Patchwork-Id: 13888920 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2129.outbound.protection.outlook.com [40.107.93.129]) (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 AED941E489; Fri, 29 Nov 2024 19:28:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.93.129 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732908482; cv=fail; b=NXFo2mJbgigFnAUVOtYaPqm6g5p24KWzapaRpo3Dglpb4OlsNJV97UApHrvWVNVPp7VQiPQuEEGOyEtOVabkpVtyHssCqlkXyAfl3J3q5LdQfBLsq8Pku1DqvzKski7kd9oRqkiHxRfnWvKsch1kfaCFvEPRg1Ida/DVHtX4Fyk= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732908482; c=relaxed/simple; bh=Ic4TIAWhvhXPfGWDQYUpyZ/I+uHPj/JQplf07mCkFv8=; h=From:To:CC:Subject:Date:Message-ID:Content-Type:MIME-Version; b=eVZWo+2ajub1afMTHK7Qbj0rWUNGI5TRynozGvowm4OkP3LMYzSPg21cdx25sj7ydhLo+ptbNq6IyolrDBqMcEi6t8/esdMoAQm0/zP3Ij8FxmDaCydQN9g9cJJuqOHARR21LZPyWC3Xpe364kC5dKcsWzECRr7OoMLxBfdIxHM= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=hammerspace.com; spf=pass smtp.mailfrom=hammerspace.com; dkim=pass (1024-bit key) header.d=hammerspace.com header.i=@hammerspace.com header.b=MU6xYKP/; arc=fail smtp.client-ip=40.107.93.129 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=hammerspace.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=hammerspace.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=hammerspace.com header.i=@hammerspace.com header.b="MU6xYKP/" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=TXe9PEQsqcny0rs86p/nf0mQg9AC6bqUeI5IM5yT2JF8DkVKv8rK66gPHuxk9U02vp7LatsQnZ+r0CCGdVs1xtuGerCYmWKymMpA05bTc/6ZCjQfQlNb25ql1J3oWFWwbxXY5xd8LSQ9T88RYv73iUMhXCXOvy698x2wYvkx7r0YYKzXfk4pe5/MklgEH4CVKRc65RBisLrUgt5yW2hnpCg54xk/HLJ3G5Hw4pZS1FpbYWjiB7eNch3IqEZ1J53D7FzOvCYvHl40/bSYzRzBEltSb0nuPX/9/mWUYzTPxvD5JNMS+qo5HMJGvZJF5mg2zze68d9gbTlcDampDa+I1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=Ic4TIAWhvhXPfGWDQYUpyZ/I+uHPj/JQplf07mCkFv8=; b=EMrcDgokR/pRc1iO7ztT2ZR4vOMo9mUsmfyk6IeZeWABkKbM++m4qR1eZJ1KFAsc7EB6eFNPrehmeDjpBH8Y1fEvwU530YbGue2ZV0rEf5tI6mNu+6yeRZGMUgZDa4kXB2U1sU+KpRLDSOCYDkJPAougnEcQWx+zMsqBZAPSGr/9omM06eCi0ATA6HLSHb1JpIkccXc6YsPbFa98hqCc3G4TuQ6sHHBvZADv0nF0AQhR0/4IqXCaPXXDsLZgNEKRuSxFKfE6jliU3+742n1O8BzNqrES3hgZWFtqA1WaGZKBl6yDMc1jhTLpbDJx1ttI28H+gnYjHTk0KTb2VkP3wQ== 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=Ic4TIAWhvhXPfGWDQYUpyZ/I+uHPj/JQplf07mCkFv8=; b=MU6xYKP//lKVSvEOw5T+/+LTcIGecbCfvlAxTHcf7liEAcgbByNL/dMD2PEr3zTQUo4YD4nAVUofnXvTySI1PFUoGKaTkuqLcprAN8hmCR7cIrQpBFky18wDF4IU6gXyiM+gfxFQzHMThATB90V40iu7I4Da6FXrSyYAAy1xZOc= Received: from CH0PR13MB5084.namprd13.prod.outlook.com (2603:10b6:610:111::7) by SA1PR13MB5024.namprd13.prod.outlook.com (2603:10b6:806:187::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8207.14; Fri, 29 Nov 2024 19:27:57 +0000 Received: from CH0PR13MB5084.namprd13.prod.outlook.com ([fe80::67bb:bacd:2321:1ecb]) by CH0PR13MB5084.namprd13.prod.outlook.com ([fe80::67bb:bacd:2321:1ecb%4]) with mapi id 15.20.8207.014; Fri, 29 Nov 2024 19:27:56 +0000 From: Trond Myklebust To: "torvalds@linux-foundation.org" CC: "linux-nfs@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: [GIT PULL v2] Please pull NFS client changes for 6.13 Thread-Topic: [GIT PULL v2] Please pull NFS client changes for 6.13 Thread-Index: AQHbQpTKHSIr+ATC1E+ruH/tEbbJ6A== Date: Fri, 29 Nov 2024 19:27:56 +0000 Message-ID: <173b7b2ce8ca6ab9cf692ea5e2ae7efea6ee9b31.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-traffictypediagnostic: CH0PR13MB5084:EE_|SA1PR13MB5024:EE_ x-ms-office365-filtering-correlation-id: 9a26a2a6-b669-4741-35b9-08dd10abed63 x-ms-exchange-atpmessageproperties: SA x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|1800799024|366016|10070799003|376014|38070700018; x-microsoft-antispam-message-info: =?utf-8?q?kzzADQ8jaPkumy5b5mtBUOYfw1Qz9Ip?= =?utf-8?q?vr/4NMI4HWzpJNkAPTktJxc0GikuJ7+30s2lIBJRX8UEaAWynvBhPQOvRlwrn9xn9?= =?utf-8?q?YNlMvN9ypm7BXD0uQfkPx6Yc4YqrC5j2/H4zsjtem57BZW8p1M2bsPm1UNBNf8zAG?= =?utf-8?q?yPfygcmO24/eXivQI1L2oCi9bZHqNcu8kyTKjohHFNb/3x9xcvQXs1Nw8CZBlPKzd?= =?utf-8?q?R1TBWR0CuvB5C1mdalJfOtFSHzd2BFkFDzLHWDT1EyfzuPeG0f6zfmON0Xi4/bQIK?= =?utf-8?q?GJVaZJcIsEBSyazWb1DayyqpsYO3pp/6rw0uwxif/mzWo7VrOy7kCfZ+H+fjRxo+o?= =?utf-8?q?jUo0NdAtecmWibti8o/9QUOAFyB1blqyqDu0WlD8MAN9pNnEH9eXsv4xCPxm7Yh8v?= =?utf-8?q?iImDk+VQqmVqH5Llu1R900rRiImowNV4IyUYxxR9XTAa0O0MeLQ8vSTgpcCXP/Ju7?= =?utf-8?q?8kO/7Hvps4+Kc4y1WFYEN2Dhs3MsThaHjvpqg9nOBvjzpVAfH1Zstap+vcR3hpN3e?= =?utf-8?q?EJPAFbHHw5mhiuutoJN8OAaAcB4w2bXhFInLsFPP63CC1X7YPlf5C7B6I3CmcHFpC?= =?utf-8?q?AaVNUQhpKCvivqQ7C+cY8hUjdU+oZAXSIp/+kdnWpt3ijUbqcBFWCaickCOIV1K1f?= =?utf-8?q?q/TlwAwp+ZnJ3KaAnV/+7laCWHikVJUwND3ohswlSnjvsag9HaQDneIheqzpra1ya?= =?utf-8?q?L8Kr7p2APD8MphmcYoM17Cq7xAp1gQo+ZNlM3QpnL/BAq0RY2+uELGfNLx9aNBKjn?= =?utf-8?q?Kr9F5kUYbT+zEfDvQZAR7GWgT/z3wpqXw3PFmHAYLpZskVuMHIHJMVcmQqK33Dibo?= =?utf-8?q?3Fz5Vp0z8rI9TK4/OyL2A7/GOvqti6WVC9Gh9ogxcifx+k1IvJ27FXiPmyIOcRmVn?= =?utf-8?q?oihHsIhUzhSekEX8dkTciq5DQ2EcymEGMtHI4XMYmHFT4AznjF+aO2R4sH+RGAj/c?= =?utf-8?q?MaT7M/g+L+KZphhOCGfnPazVM0NKJb+V10UvJdzRznTfCuKsiGMBN64hR8VWRplZ1?= =?utf-8?q?IVzfD9BQgUM6wDZ6HZEMxYMDsfsKNeVsGoQa9q8ksEoTpRHQk8YxYe0DNW90+oroV?= =?utf-8?q?sr54MXiOQepbgfA0qopopFJVrkQ4oZFpaiApv91ZM528PZfZJMD1fAl0HMdDrg3oO?= =?utf-8?q?OYyAg1kjVnMou/WDs8XCR/+ZQV2kqutQIw/4JogucMuYL8+tdq682Rj9AWv3J4vAO?= =?utf-8?q?6uejL4/gpGbsn9QCczIttmguWvTONpyG4GvBwVB7eYbhSsOboGKwfCryfTR6UDAzE?= =?utf-8?q?HT3W3za5NE0qkcVqj7MBVTS0Kn/qmT+zmlaJdOGVm+iuneH90dFoXBBFUllaU+mDu?= =?utf-8?q?Vhc5DtaxDbCdSgGEp6ntev9vDkoToYcfbQ=3D=3D?= 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:(13230040)(1800799024)(366016)(10070799003)(376014)(38070700018);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?q?EtFKHDYt6pp53qDggI3BpTUwbuAT?= =?utf-8?q?BPDg1ZLVoR8bcw7WmgOo2PacEsr7rOt3aO56OLqmVgT09uUsZ4A75cQl3P0doa7C/?= =?utf-8?q?jtKJPgmHKBDhfnwmkB5mc2CwjVMPeSGrB3WnxUp3JWI0s/Ya/qzWrJ5hOBB5A21tx?= =?utf-8?q?kZ/NiwRdNQvi0MAG1N4vuyaQb/tEqk0tmbpdvPRPlPAkQgYNBti8pyH7StOdPs2jQ?= =?utf-8?q?oYexveIiYkhl2jvwN0zXg1PFQaDHR4PxfKNc/3cLyPuUhGE3uHTPkYKzIYaTYHDDk?= =?utf-8?q?0CYCrp72iFoK3ch+t9P3XwPx05bF/XJ+C6psADtNJtG7MSpNeoF0TV/XBmM8g93KL?= =?utf-8?q?85KwneFR/srmWFV9cvrD/OxjJV+VVaBZdvB9ZjzlQLcMndBGbTK6VylaUJvG5Ewu+?= =?utf-8?q?KezaiyufHWE4g00cojipHcnIiQOr07BV1fl9uYCMU27XzIgLYll+PCPb8jGvxsxgB?= =?utf-8?q?xIAKq1R/TqZ7Isc32r5G3Fi7kkh6kf/1WW7oNwhINXcWXvxAb+6EzgCDwLczDJ7XX?= =?utf-8?q?FSh5jRmCWV+o9A3v3Y0d3YGYbdSQhsps1yNlhXplLr7yAz/msVh+JBD2LUlaP3kk9?= =?utf-8?q?LTwHiShAbPNRXTlKb482tSL4HWTs3DhONWKerUDdRks1Nj0H+kCAzRrwjiMhIt+6n?= =?utf-8?q?LHq9r9+sxGyyIPLZx86C96+YexDkbvFC8JfnRXMjbWMx1Ro2mVI8Me6nMYFZVrw5J?= =?utf-8?q?0rwY570Scs3FvA3sQlvFWXKev8fKRDXaDyAiFkFVGW0fe7oo5GfsOsQCcDwKQi8yP?= =?utf-8?q?eL1ji8ktt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precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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: 9a26a2a6-b669-4741-35b9-08dd10abed63 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Nov 2024 19:27:56.4522 (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: 9AgR5xUI0KIoLlhE8rgrYZOxETCGPeRgK9drmjnUTkGfR2D5DohhzsKPYy/q8uA/GevKJwAtPpwfNUlZHKbnXQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR13MB5024 Hi Linus, The following changes since commit ff7afaeca1a15fbeaa2c4795ee806c0667bd77b2: Merge tag 'nfs-for-6.12-3' of git://git.linux-nfs.org/projects/anna/linux-nfs (2024-11-06 13:09:22 -1000) are available in the Git repository at: git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-6.13-1 for you to fetch changes up to 38a125b31504f91bf6fdd3cfc3a3e9a721e6c97a: fs/nfs/io: make nfs_start_io_*() killable (2024-11-28 12:55:33 -0500) Changes since v1: Removed the patch "nfs: pass flags to second superblock" as agreed. Cheers, Trond ---------------------------------------------------------------- NFS client updates for Linux 6.13 Highlights include: Bugfixes: - NFSv4.0: Fix a use-after-free problem in open() - nfs/localio: fix for a memory corruption in nfs_local_read_done - Revert "nfs: don't reuse partially completed requests in nfs_lock_and_join_requests" - nfsv4: ignore SB_RDONLY when mounting nfs - sunrpc: clear XPRT_SOCK_UPD_TIMEOUT when reseting the transport - SUNRPC: timeout and cancel TLS handshake with -ETIMEDOUT - sunrpc: fix one UAF issue caused by sunrpc kernel tcp socket - pNFS/blocklayout: Fix device registration issues - SUNRPC: Fix a hang in TLS sock_close if sk_write_pending Features and cleanups: - localio cleanups from Mike Snitzer - Clean up refcounting on the nfs version modules - __counted_by() annotations - nfs: make processes that are waiting for an I/O lock killable ---------------------------------------------------------------- Anna Schumaker (5): NFS: Clean up locking the nfs_versions list NFS: Convert the NFS module list into an array NFS: Rename get_nfs_version() -> find_nfs_version() NFS: Clean up find_nfs_version() NFS: Implement get_nfs_version() Benjamin Coddington (4): SUNRPC: Fix a hang in TLS sock_close if sk_write_pending SUNRPC: timeout and cancel TLS handshake with -ETIMEDOUT nfs/blocklayout: Don't attempt unregister for invalid block device nfs/blocklayout: Limit repeat device registration on failure Jeff Layton (1): sunrpc: remove newlines from tracepoints Li Lingfeng (1): nfs: ignore SB_RDONLY when mounting nfs Liu Jian (2): sunrpc: clear XPRT_SOCK_UPD_TIMEOUT when reset transport sunrpc: fix one UAF issue caused by sunrpc kernel tcp socket Max Kellermann (1): fs/nfs/io: make nfs_start_io_*() killable Mike Snitzer (4): nfs/localio: remove redundant suid/sgid handling nfs/localio: eliminate unnecessary kref in nfs_local_fsync_ctx nfs/localio: remove extra indirect nfs_to call to check {read,write}_iter nfs/localio: eliminate need for nfs_local_fsync_work forward declaration NeilBrown (1): nfs/localio: must clear res.replen in nfs_local_read_done Thorsten Blum (1): nfs: Annotate struct pnfs_commit_array with __counted_by() Trond Myklebust (4): NFSv4.0: Fix the wake up of the next waiter in nfs_release_seqid() NFSv4.0: Fix a use-after-free problem in the asynchronous open() Revert "fs: nfs: fix missing refcnt by replacing folio_set_private by folio_attach_private" Revert "nfs: don't reuse partially completed requests in nfs_lock_and_join_requests" fs/nfs/blocklayout/blocklayout.c | 15 ++++++- fs/nfs/blocklayout/dev.c | 6 +-- fs/nfs/client.c | 64 ++++++++++++++------------- fs/nfs/direct.c | 21 +++++++-- fs/nfs/file.c | 14 ++++-- fs/nfs/fs_context.c | 6 +-- fs/nfs/internal.h | 9 ++-- fs/nfs/io.c | 44 +++++++++++++----- fs/nfs/localio.c | 96 ++++++++++++++++++---------------------- fs/nfs/namespace.c | 2 +- fs/nfs/nfs.h | 4 +- fs/nfs/nfs4proc.c | 8 ++-- fs/nfs/nfs4state.c | 10 ++--- fs/nfs/write.c | 55 ++++++++++++++--------- include/linux/nfs_xdr.h | 2 +- include/trace/events/sunrpc.h | 4 +- net/sunrpc/svcsock.c | 4 ++ net/sunrpc/xprtsock.c | 18 +++++--- 18 files changed, 229 insertions(+), 153 deletions(-)