From patchwork Tue Dec 17 05:12:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Popple X-Patchwork-Id: 13911021 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id A80DBE7716A for ; Tue, 17 Dec 2024 05:15:01 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3896E6B0088; Tue, 17 Dec 2024 00:15:01 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 33A5B6B0089; Tue, 17 Dec 2024 00:15:01 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 18C276B008A; Tue, 17 Dec 2024 00:15:01 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id ED4F16B0088 for ; Tue, 17 Dec 2024 00:15:00 -0500 (EST) Received: from smtpin30.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 762A680464 for ; Tue, 17 Dec 2024 05:15:00 +0000 (UTC) X-FDA: 82903285794.30.D175FE8 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2053.outbound.protection.outlook.com [40.107.223.53]) by imf05.hostedemail.com (Postfix) with ESMTP id 1401610000E for ; Tue, 17 Dec 2024 05:13:59 +0000 (UTC) Authentication-Results: imf05.hostedemail.com; dkim=pass header.d=Nvidia.com header.s=selector2 header.b=YXGFkIJE; dmarc=pass (policy=reject) header.from=nvidia.com; arc=pass ("microsoft.com:s=arcselector10001:i=1"); spf=pass (imf05.hostedemail.com: domain of apopple@nvidia.com designates 40.107.223.53 as permitted sender) smtp.mailfrom=apopple@nvidia.com ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1734412469; a=rsa-sha256; cv=pass; b=BMEGs2NcI9jlUt5vD3xzEVL6Hirt/mriDcsq092/lHADZizT2a/Cz5GcESbW5T78l76FDS 4TIP1U+ngbD9poc/HbaCISADqxHR20WVWd2hmlZ40TXZMmTISuK5Jiq3coifU5THYDxRjz 0zpTWOC7zW0ak0y/rY3ISKeC2Ug60g4= ARC-Authentication-Results: i=2; imf05.hostedemail.com; dkim=pass header.d=Nvidia.com header.s=selector2 header.b=YXGFkIJE; dmarc=pass (policy=reject) header.from=nvidia.com; arc=pass ("microsoft.com:s=arcselector10001:i=1"); spf=pass (imf05.hostedemail.com: domain of apopple@nvidia.com designates 40.107.223.53 as permitted sender) smtp.mailfrom=apopple@nvidia.com ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1734412469; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=oPuDXC5YQtWSoYXGVf7XL4nw5iM/h23dC62Mmqkkwdo=; b=jRSwG++rO2k6rMYtef3wlPwY+mzCxNC3Ki/U7UK95gHhPqUvvm3/Ukuet65zKmbnbd2SuN FPtfSQdiTjhZBNGFWOxNjratviCO0wsoC6Kckk/4pRRWO3R16oJNH311YzbS/4sfs3J9nO I5Rqs370bsD7RmKy8NyD8xADy3b0riQ= ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=SYZqns5NcLI6aid/1gPIi1xHgBQrCx43yJxfgAsi2MtVzA5+uwjQ5xRtgtiRZCSO8ZopzY4hSQH1nxoQ07l//zV+Zt+hiaKjnuDrvPmeV9obrT3YNHussUbowxAtC9K4nzmZB//01OEj2GZfkXJdMbMWpHHSs5ypP5LSlHoNxyOYkSVImMoi9l/LWG1ssPoGw1ms3SFbUVtrmLb1/tt/53Qtz7mhB+HCSLldFgBZGGwk1Oox8iMxmNGVkfu27snFT4nmTN4SFES65tj7M0XQmp2L2yE0Njlk2C1NZVN78vvUfdgiG7SWP1gvRdd2i9AHVW8szJ1yAUzUwQusAeb+uw== 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=oPuDXC5YQtWSoYXGVf7XL4nw5iM/h23dC62Mmqkkwdo=; b=DxT5rXIg5o6M8lMfgpyneUdD4UBzx5SB8UOs7UtrL6fcfq7qCDSejq5P1mPIaSTEe/Qp+4w+Y8c8uPUGTNltHxgqsZdn5DAjB0HbVAJUndm4S/ULjiwzEzwZhhdCYsUiLa6Iy/uzRZUsECcx7eJI3cG6gNDeTKsjRBQ5DkztwzP9WZ3hguJzDUY0ozGZ7Bt3QYxHc07RYt2FRMFmdcOsVy06y/IlujOForD5vsyTUZlalClxZ5ICEyy+ZnX1CuThu9+cOPaQktcvs0JXd2wBAEhYsouixAXxg6hYOPmoCniQFaM3kizPJA6/cLzB2OLS+7VM1kqekm/gp4yuZFoNbw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oPuDXC5YQtWSoYXGVf7XL4nw5iM/h23dC62Mmqkkwdo=; b=YXGFkIJESXxZwN+1AyoIhsVGZiRsJNE199S410Fgp0qXQ1v8xgXkV3VTtJTNE9fdAbglkO5HDULovWVAGuX5sSLkOKDZ7p5xA9nm7AQoVNPW3Fi8CF0X9qGp4slWyysXxoJsz7W5ER0OHk7E+ipaTT6vGtxO1rFvPLrazrexNpyLUhFxEDhay0Hs9zJHM+0oWXjR640XjdRaNhd3xbYp+yxR9GgiRuR7yj8rDYjlv/4OrtCByZCpd59LUnq8FVxc8KQ0sb92Gw2qz3Kjyn7CIteK56wwTLv7PsdWxr4NlDWjbClRp8V0Uo4/GRzBFou7utlA6c6Azq0391sCuD+Iww== Received: from DS0PR12MB7726.namprd12.prod.outlook.com (2603:10b6:8:130::6) by CH3PR12MB8936.namprd12.prod.outlook.com (2603:10b6:610:179::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8251.22; Tue, 17 Dec 2024 05:13:30 +0000 Received: from DS0PR12MB7726.namprd12.prod.outlook.com ([fe80::953f:2f80:90c5:67fe]) by DS0PR12MB7726.namprd12.prod.outlook.com ([fe80::953f:2f80:90c5:67fe%4]) with mapi id 15.20.8251.015; Tue, 17 Dec 2024 05:13:30 +0000 From: Alistair Popple To: akpm@linux-foundation.org, dan.j.williams@intel.com, linux-mm@kvack.org Cc: Alistair Popple , lina@asahilina.net, zhang.lyra@gmail.com, gerald.schaefer@linux.ibm.com, vishal.l.verma@intel.com, dave.jiang@intel.com, logang@deltatee.com, bhelgaas@google.com, jack@suse.cz, jgg@ziepe.ca, catalin.marinas@arm.com, will@kernel.org, mpe@ellerman.id.au, npiggin@gmail.com, dave.hansen@linux.intel.com, ira.weiny@intel.com, willy@infradead.org, djwong@kernel.org, tytso@mit.edu, linmiaohe@huawei.com, david@redhat.com, peterx@redhat.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, nvdimm@lists.linux.dev, linux-cxl@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, linux-xfs@vger.kernel.org, jhubbard@nvidia.com, hch@lst.de, david@fromorbit.com, Vivek Goyal Subject: [PATCH v4 01/25] fuse: Fix dax truncate/punch_hole fault path Date: Tue, 17 Dec 2024 16:12:44 +1100 Message-ID: X-Mailer: git-send-email 2.45.2 In-Reply-To: References: X-ClientProxiedBy: SY5P300CA0057.AUSP300.PROD.OUTLOOK.COM (2603:10c6:10:1fe::7) To DS0PR12MB7726.namprd12.prod.outlook.com (2603:10b6:8:130::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR12MB7726:EE_|CH3PR12MB8936:EE_ X-MS-Office365-Filtering-Correlation-Id: 92efd73d-9cd5-4aa4-7343-08dd1e598bd0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|7416014|366016; X-Microsoft-Antispam-Message-Info: vGTit7PiNrb0Kc02yU2MWw4C3jILeoV+mXw2ry3NVJuk/BbjuXvFIuBsMC4Yub4reJ729kU/54YZ+XowR2tHnxZ48P/WotDy/N8c4bDgfXM/JLl07Dh3dTW53xOg24rw6gQ6u0eckBYQZX5/zG457CwZey6LtYwhNg8NqNvRBSFbSYhKDK8c1BWLRVTGUmFua4JBYlcdPtWmFelw5+Z+B2eexqWpNsFnnMLCix7zTBs30fwdwKp438203o8EtxWJAqRywXIhT8J6VdovLWaoXlKyyzrimJm532JOU4+LxL4MrxCz5rRdqiddOwZInwdowcT8H7eC50HORPBMPSneElYqrO4sULdGCCO1bm7rgfn01P19xg+Kv910EK2DqIckO908kZphCev91sFW1yq7RiRruhJTnAqyjkfrl0WduEmMFufVcxhTfgMJaXG3yn/7RgbBE2DHiVf907BqieoUfk+FXPtuWUz8oXL3lx66kmikq2UCWcH70TMt4cDJSmQOSLJ62/K6Kz5+IjxOUObBsoE7Elic+REgt9AWTBGEAKawTPI5b9DSi+p5AA1RteD3UtdbH4WSkbfQjhVIv7jcjN8bKYgNo63mYiQhQeql8ohuyBg8JoXEvZtxNS3BG3CSNhsa3KRJ0g/j4q+vB4JGySzKkMXY7c8E7tFRuRfP5CQOBsThjs5Vgbaww1+TmGNxf55EBTqxUFy/3eyjg+147o1fnLHbrnrE6l6JHGI5oSq+1K0yXcNsg6GpuXKaRSHbtKgiFoTpN3Kiv9lzVjPv2SenVQONhHVwtE//xJiB2EASI+l87mhDBjkU+X++U/W8Yt7Oh6Lt7GoEU6gzXPFigjaZ9DPmbLyOG0qO+jFMdTT3fJWMMq181j8wMuhHi/XV/SETgUQrDFNqIgbKbs7UHFkzJxU9LrL2oZ7DNTp2XrwAmRu8iNdrOCM5FE0JI1fzwI9hRoZeXdgZj3l7l/R7masqG8H61X/2bkKhjwkpWm36/N7AW+H5Wau0yzVBEyXBOcUhOv3qOSoUIGMUlygpDiagqwodm5vR/KKlE9a1ptgi2jdc+zO08w8MMD6qjjpfydm91Di9osjsCoEaLln4aY+5gJriTfDvgfSOufi90vuWUjayFVzlh/zNq52albfjkzehqeavMTGO0xJNZ2IDew5dovTLJkNFxLshu/bFih3YgoJq+ZCdo0CQJderzPDwUoYpOVpusJ5YXDKq1PA3S5W1Aho5ZY6ytn5ygVE2uyAKkKTyvA03UE2msXai5KkAiV6Bac24JkaTpZK9q86tRRR+Bm1SRQFqMdKGERlnoqcQvvMd72MlQr3BHcfbIi7HCIIfFIWgTGVF2INMnRH6hMwYYUt4ioMosm36Hb3zrEEN5g6x56ItrUyKylpWkm92 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR12MB7726.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(1800799024)(7416014)(366016);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: PndvQFX0pYbvOfGKuy6VeEyX9wLw9Kjk7HmcCj6GNBkTSlRXN8Ny3oZ6D+kKuvPKFVjUaIa12QUgNPo+YClJMMSzBCCsy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dMo7cxwJSkfha6weqOaBefA+VowwSWw4F0Z+XcBTNG5Xm55JboEW09zD8HBouV4t8ootygs+VmDt8abLjsy43ojKA0CZf4aLOljSkTSGKPPYPIbl6xgvc4TZEFaqRk3qENeZeMz8mfOj53pwRYPg6dGDB7i+F1S6vlj3tHO/gDYxoG4KNrnMNc9EvIAZ4gjuqOOqq7vOO9ozMaEFhr4wP+yRS9hbzjLxZjM43BzNJ2NggArqSbi4ZRYsSRWhMRLcoaeCycJ6uWbtBjEWrGuaONeRhCb7PtKdD54dDP8OWUASyF6GGlCd3h7CaGtaITIjQAdcjhvCIqh8XyrUC8PV97j5GlW2krZpNbNfBh6v6lJr+RwUTIfuER6ZNhR+YC7gaFCJYRPTkT8Mi7ZMCAE4bN1Mz9iTgKxyaXORjK8kbfG+6hp7FORNOcwoZovu X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 92efd73d-9cd5-4aa4-7343-08dd1e598bd0 X-MS-Exchange-CrossTenant-AuthSource: DS0PR12MB7726.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2024 05:13:30.4259 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: gfxgxB4Owg7WFQjB2fzDNZFbOOy7Uwopd4MAYD06xcMVeiDrQGLE1QWVP/rvXLezZhGjJhjr8qn3Zk3KBCQmSA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR12MB8936 X-Stat-Signature: wotd7eehcrr7qb3j1rzwcuaejg43i4pm X-Rspam-User: X-Rspamd-Queue-Id: 1401610000E X-Rspamd-Server: rspam08 X-HE-Tag: 1734412439-89641 X-HE-Meta: U2FsdGVkX19jZ8j+s4akqd05jC5/pZPojPg2l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jLNPdHU2AanwEr9dN9z00nNIZW9q227RYpQWGVYolCN3rrOqgFdfd/jyWKlKdNnG0RdCamkLX/26t8Geu9VyoCakdVaiFLaSbkJDqTZDhbnBK/OaWXtOP74gWvSUrs8s05ACBNbbK0eGaCA/oQP4xJUro04iCRsdLPz9aupNtWAm0F7Ehx+5AUqFROJyotk1E2vEWRG2biDFNybXWL3QehlHea2JySLqbQ6m/YF8qT0ee7iYx78Ham9QM+qpmJAfv2yQ6inJaCrWiN5aAvcnl0dCUYrrtcdlfqU58dHpSop48Y8TYSgB39HK0avXoNSCg4H0e7cS4JpxJlXB/6uLOppzxKZlQSWkpuFgg= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: FS DAX requires file systems to call into the DAX layout prior to unlinking inodes to ensure there is no ongoing DMA or other remote access to the direct mapped page. The fuse file system implements fuse_dax_break_layouts() to do this which includes a comment indicating that passing dmap_end == 0 leads to unmapping of the whole file. However this is not true - passing dmap_end == 0 will not unmap anything before dmap_start, and further more dax_layout_busy_page_range() will not scan any of the range to see if there maybe ongoing DMA access to the range. Fix this by checking for dmap_end == 0 in fuse_dax_break_layouts() and pass the entire file range to dax_layout_busy_page_range(). Signed-off-by: Alistair Popple Fixes: 6ae330cad6ef ("virtiofs: serialize truncate/punch_hole and dax fault path") Cc: Vivek Goyal --- I am not at all familiar with the fuse file system driver so I have no idea if the comment is relevant or not and whether the documented behaviour for dmap_end == 0 is ever relied upon. However this seemed like the safest fix unless someone more familiar with fuse can confirm that dmap_end == 0 is never used. --- fs/fuse/dax.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fs/fuse/dax.c b/fs/fuse/dax.c index 9abbc2f..c5d1fea 100644 --- a/fs/fuse/dax.c +++ b/fs/fuse/dax.c @@ -693,6 +693,10 @@ int fuse_dax_break_layouts(struct inode *inode, u64 dmap_start, ret = __fuse_dax_break_layouts(inode, &retry, dmap_start, dmap_end); } while (ret == 0 && retry); + if (!dmap_end) { + dmap_start = 0; + dmap_end = LLONG_MAX; + } return ret; }