From patchwork Thu Nov 28 13:18:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trond Myklebust X-Patchwork-Id: 13888052 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2124.outbound.protection.outlook.com [40.107.223.124]) (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 B329119884B; Thu, 28 Nov 2024 13:18:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.223.124 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732799919; cv=fail; b=b8HuTccKhxPNL3Xok3TXZj80VeYEQGBBC452HHVO+3qrKir8dZYRrmg7lBD1bbdADZ7sQal6GFjvz/8yR0WWrEV8Su5qkIbE1agKHvoW3ooD9twNOkU7uAdJDMANsT7npJR+cx41FO/dV09S+ZL09Ur/+VYT0UIPFXBRiAacmyU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732799919; c=relaxed/simple; bh=d4UvDFCWAPJThxzqN9nz6r6jG0Te45QlyR2KXCk3wZw=; h=From:To:CC:Subject:Date:Message-ID:Content-Type:MIME-Version; b=ODo7K4g5LA8aBl7H6tAlrPTfcgIp6T6tttdNEsnPoGwnOITQrPFbcp7u/D7HJKemdLAfC2bqbLlo9HMp2C0ca8n02Hb+66MHRYrEvsV7aZexMMVd+yk5iUn8Ij+Sxhl49I5BuGfflbYZ1xKqTaYwyS3VgcNKmFdtlbVBviMCLBM= 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=IlvybkBE; arc=fail smtp.client-ip=40.107.223.124 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="IlvybkBE" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Uu3HBGQkvYnn6amE6AHTWzC0KWVq0bXAYdv222MKQ2Cicsb6NXq7oD2JeFQr7qnj4l0wFT2l+vcIVQeWgn52O9rJSFXu1lFgAfp+GwWYZjRz+YNNMAktZ1aeqqIEU7kmPUP2GTA2qa6kbGI6AHmtTGGTXS1f+4nT/E9BQicl24m/dKCbA3R9M9o9lNcVX94eSfwlQChO3KXULIa+91zRM0R7ykVK6niUUet+o+YX6sUTtwumIAyX1Oa7ynr3TfBuM5+qA+c3IyCheBVYXrHVsH7QnmSbEsigySi6Ox+8XEnF2P1t6zlzG9PrJlSt+qK5Itsddoz14oFZPCe0/gRC6A== 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=d4UvDFCWAPJThxzqN9nz6r6jG0Te45QlyR2KXCk3wZw=; b=zQjcrGbb2MArC2m6UW5LAsx/Rc29rgY9RhsXqjpDl/uz4X6ZBUiVOtduKwvXqFOfrnYUR7grDDYMJfinqunerllI/8yxSmiW28/J2DCiKOzK3ex71lGPOs3+XXNjVON/T1Z8eLwXYzh/Skyys5C9JU405ZlxLRoawsKA6lZ1ZmhdC0o/dR4Bo3/Jm0AXCPLoWY3fUSeR0ni5WjnCsGbInxW6E/s9ZIB2GJpWDUDrkzN6iUGzsS1zEU+IpRxkLtGWldzXvtNXyevjbU6rh0rduvrEGlTpwxofLyniUFvZyTaDMtXmEy636tbJQRUJUhURnYKAGZdCxhmDITPMha9/PA== 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=d4UvDFCWAPJThxzqN9nz6r6jG0Te45QlyR2KXCk3wZw=; b=IlvybkBEyERcLXsxvuO2Y2uakDyZGFY7utkeL/uZ7jGuloVABHfwNTUSr0rlTl7FbDKDPMdC1FxUdX2SNUd95W1OxkBAkzybbd55gEynN8BXe/3e9KYVsTOLSI4KY8lJMjNHoCmbVxcTjKxm1zfjbGhbc2btNmjiAN1KIa6xK6w= Received: from CH0PR13MB5084.namprd13.prod.outlook.com (2603:10b6:610:111::7) by CH2PR13MB4458.namprd13.prod.outlook.com (2603:10b6:610:6c::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8207.13; Thu, 28 Nov 2024 13:18:32 +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; Thu, 28 Nov 2024 13:18:30 +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 changes for 6.13 Thread-Topic: [GIT PULL] Please pull NFS client changes for 6.13 Thread-Index: AQHbQZgErDshQU1GpESqbL9T+Jev1Q== Date: Thu, 28 Nov 2024 13:18:30 +0000 Message-ID: <5575f2c2b1e1f3ece56a28ecd5d073734797fc2a.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_|CH2PR13MB4458:EE_ x-ms-office365-filtering-correlation-id: 3748f41d-35b3-4a0b-31a8-08dd0faf271b x-ms-exchange-atpmessageproperties: SA x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|376014|1800799024|366016|10070799003|38070700018; x-microsoft-antispam-message-info: =?utf-8?q?G2hrEZIgWanFCWjmeYPMnxGC14OfcGY?= =?utf-8?q?icSbyUj75ru+/WsJnRdyzWi5tQNbfpCbejFJ+ocCD0BzVrZ1qRTINlyUITYI8rRX7?= =?utf-8?q?fb66IFw8oZDM4ZiyHmQA8J/YYtBGTfPL+mxYmSRTU/93NiT/Q/kufxWxn4wFanhce?= =?utf-8?q?Qvv9Cj9keQlk1PL6Hij4ERW79OElR1Mhb85sgFeNx3N75Hfq4IuInGT/LA3WHbKiL?= =?utf-8?q?OhFiok5KaCNyfplN1eiNobg2G3OPWeeweZ4R9L3K7vEgs3v0UXgayPHCwdTpfnO2o?= =?utf-8?q?J+CCoXZnVxI06679uSd6lz3I0I0gu02aFQBv+0jvau+ENyVmqe8uuOU1P1whs/c8s?= =?utf-8?q?SgXKWIhYqeXaKSlPaXhVFiczpEpSDUHyIjN/vDP707Xy/sp9oigoq8cCz4H9cJDRt?= =?utf-8?q?dUJvc4DnukRQltSGiGTHulBSlXc/9zcBy9qrhuOsxsUu3AhZ1PhMv/2fcNPAEnzFu?= =?utf-8?q?0A/ZP11DU3Kj4lrGIdCca+jBBywP351661BfA/8paAxo11N3Q0x2/gW3LhBUmhd2H?= =?utf-8?q?oVUk+jTFlNP7+3Z7ac2DRcXj5dmIUYTgWOqHuLcNYdcuOxx4lOuQOILFhoeql8vwK?= =?utf-8?q?tqb3oQs+xjfH4CATTNSaC58LKbr4j5BbBHdKo2N5ldVAj2cC55GEG0Mh7CdNH4nHw?= =?utf-8?q?sUO4eJZ1Apkwsgd3m4d68/d2ka13CYW3aAjFGeAK/GiKxJuIFP5ZsdAio9egb3pJV?= =?utf-8?q?dWiMoqEa9kqptL2783g8k9F5PV8T643qb4gClb8cQBUvxZ5TwOWULqTQ1AFk/yVKe?= =?utf-8?q?8QZUS3uUHeS1m1Wbiv/JLHx/QrxYi8nIcCB+9u1vC1x9MbY6U4/VLj1ruraK7Txzs?= =?utf-8?q?jFSsq7G/vghX1790rcgRREC309lETNev4jfnLzv+4fcs3Nk/rpPuRkhNLoXpWE75p?= =?utf-8?q?ANwtL1b6EuNSFBwWblKm5L3kx/iOtSyuS5kslIIpUV+rZyJW3pBy8qg+UYR5dDbw6?= =?utf-8?q?uXhX0KdHPdTpOy94UTUb8Hvi0pfwz2RpjTxIZVo7AhAbySDYI2kMFCtsnzt/aIm6y?= =?utf-8?q?r8McOvi2Mynu/Jl5uLwzzmY6/37XNPFH608ShdxZBBWzOT8CIi8cpby6TIRaMkieW?= =?utf-8?q?fJZHhS2jedfFoC0OkG4m5pp8b4yTX6CHFCL8SAHA8l1CfKGaB2p+z3W2DJbJODk4R?= =?utf-8?q?LDqA2j+5gkbPw9ZnErsIQvjidpHBqfKgYpp+QymH5l34WEvx5UXYauxtSJjhlMgkl?= =?utf-8?q?zwrjjNMBXQElQv4pTn70h9FmTq2cA+S1YmNE5OWrVitAvRawKzdBuylDWimXCXMia?= =?utf-8?q?2VzpkgH7A7muumhKl8Eo7YNGFIjyzZmRP+4hWksYdeMcEXMdoFbcS8EdiKGRO2fR1?= =?utf-8?q?pHt+x3v6Jv4jjPTCt5QmQVe+z9OxrRUfWw=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)(376014)(1800799024)(366016)(10070799003)(38070700018);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?q?9rvK6it8FbF2snBfjveyjgDevOl6?= =?utf-8?q?IcX3XdzKMriDXNbjwdoxFdWWoUwKaV9lV9FWowGbd0v3lzXPllqAFWg6ka5iLnBLW?= =?utf-8?q?WYESw4MMBWYagLxXyNAb+dmjXGHMaEkAcTqIOhnhftiZ8g6eAaE5Y8+2XIb8WhTOE?= =?utf-8?q?QtgS5m+0MbudkXo3f4MaCoZ/Q3KnP7966b1TBh2jiwIGdvZNtmrflpkiTpwNAlOHA?= =?utf-8?q?DFXfA/TTRTNDPmkjtuGcEUtg7Je1KK+MrmxaxWXifR45Duvu49cDw3s95B9kfTdV8?= =?utf-8?q?xYGYpltCltMPjseR6Vc/57c9oo7ipoh5NBCj7rYKYxFsuL/UOFgkNHZd/2z7OcD/a?= =?utf-8?q?hJBOvrQjYyBuYeKSPZlOGzxsrZLybdisq10DnDohT/jU4UsYzRCI6BOMa0w5Sdiij?= =?utf-8?q?HphRxsR1DGtgwrYc7cvArLnKWJtuGn0Xw115FFv+HT73xgSTpafY28KyYnCdQcXnz?= =?utf-8?q?FAuaydidklwFRr4viKSfYMDoGJZGwdMuIrDbQZ1Vu7mMUPydaUBFji8Wm4wzdpukp?= =?utf-8?q?gMXpb0W+Zm58Wi5r//LncZr908VGThTBvmDaolqFoez/EY38FjWOROOZVyX5PEAwy?= =?utf-8?q?azrcIbWXonAcQA2AOe+cr5z2BT/sQlWlI4OsZ27h4M8o1bu9s6UcOUZKytZ1eubhF?= =?utf-8?q?4AvRbwkr9wKCuAl+4rhoTOuBEpQMdsrR5RWhrADXLxBJ3KKFKROmGyCub7EmS2Y7W?= =?utf-8?q?T0zuBtrHBG6f8LvQbSaNw5qrUlmdJ8oWCpTD+EsFfSJnlQXrqmGCSJZB4al+Ygwvl?= =?utf-8?q?zgKxyLU8Nv++zQpfQuPUNtOMoqMrWQ63JTLIfHeKtVmR082bu2fK46h3F0qVrwVTg?= =?utf-8?q?CpQNObg9MS1Zed4mE9YEjWkZ3gy7DdnoK40SfDjwinQRJbPOWN4Am+lMfbfo4j2CA?= =?utf-8?q?9RADdy7IkPvobyRewu05CajRKk/lXWmHin0ivVn1bc0ziFhhMMHHbxL0uEAi/o4DO?= =?utf-8?q?XYgBRiVf7Km9HK3cQ+ciKb/ShyGJsk0LVAI6zy64LcDQwBbLyJeSDMVV+9I2yOenK?= =?utf-8?q?ACQ9Fv46wC7/4X5CqvQ7lNGWdGJjhoIdLa/tRUkq2VFYdYSGsuxIclqeC41Pbc9cs?= =?utf-8?q?+Yn3x1xLbaZKs+DC+mqCNAQ4zjiE8e3Ma4ddUgF2VVdkzLpZ/991EU5mkvVFDzspu?= =?utf-8?q?TLUt4qgUzZPS6oYahXlNRd0FwEYEIC2VPuCxh+VWKzXcrMeWcdNo78ndx2/RXkq+W?= =?utf-8?q?bxURYKq6wHMFwyFhsQrLd1Tjs/6T+4QY3vb/IDGKl/w+LyNDNkwskJgJJW6RpSNOE?= =?utf-8?q?l9+uV0D9ATk+3OjMdAzDzicX7FV8iYdf8LDLLPUwwpV2V9XZ8XDTcna47jiSdf6SD?= =?utf-8?q?HyZOkWzyQgfMnY7/O8gVL2Lxf11b09cYHziYY9+W3zPXHzaUxFtNc14fxgEUbj9z7?= =?utf-8?q?ZLaauL08C8ROJxVGzTyVMEmG3eMAFTkB/E9APzWx7IywY1tub0iy0MJPqSmL6VfFZ?= =?utf-8?q?mK52wHhlBx2wI9Tqq3mMlu0/9Nya2QAuE0YI63KouK6KnvPe5f5FPaXAUUePyxvHc?= =?utf-8?q?QMSbRloIjqVWq1wi/BuCIJ7NULYG21zGXJGdAX+H9nkbLEtGDK81efgtVcA5APRBV?= =?utf-8?q?QjbUiKDsvH9FFW3u6j2w+bZV8lvIjzkMw=3D=3D?= Content-ID: <15576368F784B742B542C7F1148EA83E@namprd13.prod.outlook.com> 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: 3748f41d-35b3-4a0b-31a8-08dd0faf271b X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Nov 2024 13:18:30.6114 (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: hKQvvNDypqaZzyDDMQaTJt60hrHKMtIOV91BQeEn8Fgx/BDXCd9YFnglA4E8QlYPev2pjQdCQM4FSGhEDS3V4Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR13MB4458 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 20fde6c34d8e56ad6a08cbda19342769cae6a8ef: fs/nfs/io: make nfs_start_io_*() killable (2024-11-22 10:45:28 -0500) Happy Thanksgiving! Thanks 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: Propagate mount flags to the submounted superblocks - 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 (2): nfs: pass flags to second superblock 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/nfs4super.c | 1 + 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 +++++--- 19 files changed, 230 insertions(+), 153 deletions(-)