Message ID | 20241210094842.204504-1-bharata@amd.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 2E609E7717F for <linux-mm@archiver.kernel.org>; Tue, 10 Dec 2024 09:49:12 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id AD2166B0160; Tue, 10 Dec 2024 04:49:11 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id A82006B0162; Tue, 10 Dec 2024 04:49:11 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8D4E76B0163; Tue, 10 Dec 2024 04:49:11 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 68D2D6B0160 for <linux-mm@kvack.org>; Tue, 10 Dec 2024 04:49:11 -0500 (EST) Received: from smtpin16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 1C2071A0686 for <linux-mm@kvack.org>; Tue, 10 Dec 2024 09:49:11 +0000 (UTC) X-FDA: 82878575682.16.1B41B29 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2067.outbound.protection.outlook.com [40.107.237.67]) by imf02.hostedemail.com (Postfix) with ESMTP id B451F80007 for <linux-mm@kvack.org>; Tue, 10 Dec 2024 09:48:26 +0000 (UTC) Authentication-Results: imf02.hostedemail.com; dkim=pass header.d=amd.com header.s=selector1 header.b=etz1KsKZ; spf=pass (imf02.hostedemail.com: domain of bharata@amd.com designates 40.107.237.67 as permitted sender) smtp.mailfrom=bharata@amd.com; dmarc=pass (policy=quarantine) header.from=amd.com; arc=pass ("microsoft.com:s=arcselector10001:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1733824125; 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=XaNMzxoG2eScPPvYOEWiCLCN/uTciIDbMbfl7KLstPQ=; b=eHhe52O1JB05Uqyf505uFQoZ1AOye619/dLHKGVcvRDel60utKy8J5yfqnQ0furP5j6IRf Shv7Eda5QxG412JIs59rQH63rHXAWaiM1+asG6z5njMzx5h/cBYrJO1Kw70BjMAZGVAP2U bgCpR7VKQQIbdGvwY4kJDnv0P1MEdC8= ARC-Authentication-Results: i=2; imf02.hostedemail.com; dkim=pass header.d=amd.com header.s=selector1 header.b=etz1KsKZ; spf=pass (imf02.hostedemail.com: domain of bharata@amd.com designates 40.107.237.67 as permitted sender) smtp.mailfrom=bharata@amd.com; dmarc=pass (policy=quarantine) header.from=amd.com; arc=pass ("microsoft.com:s=arcselector10001:i=1") ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1733824125; a=rsa-sha256; cv=pass; b=X6E2hCtTpYzX0vaET2U4wkSMQxFRrQJxTLEzAvsiKPZjaSJnOUs6v2INzASGiPNsUUD6cU BStMmGrAnhRazF4A8xUBtUWk9SQmLhKg32NHwiCR+Du46vLmDBPu4LO0zm5rvIeEKfCUnq 61goyEhyJ6NNE6ygKa3XZjWGuPng0Mo= ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=FPBHn5E5NLEDx2M5mVhmeFCgEP8qW2i//elzXjTCBw0gVZPGz1EdpK367IvPpeT4iesCW6cBclqreZQbxUPvabn+uYTHVd+KpUm2P8BJ47VBuircoubpUoZXWrj3tB/IMG5ycnfgBGj4hCiHO55rLgdl7725oy+GbRb3YYz579rAkPR2xc7Lb/9uOaYFiaeYZ3H0rI2qtgn7/iMj7LgCJ4jpqbkZUJoUXr/WDxyn59O8xYnhUwGT9hoCq3YszIgu42Wii6AG2FQeXFktmCxoO7cIOMhNUAzW/ehGb3A0CsDwpTF3Hc531RFMMnSWoSERzJFslOGRAn8OZsTtEiOPqg== 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=XaNMzxoG2eScPPvYOEWiCLCN/uTciIDbMbfl7KLstPQ=; b=ln0+1EdOrbhrtVpUTR39OHzF0FddqiF9liGI6ZtqxLhpp1i5+zy/8BNsvgqC0vWaRr926yz0klhguTOwtMI1oGxsFeLworDpqx+M4V3NO0LbEmH4aM919RTj2UPLaIoJpxoPfeuNZqwh2lVID8g+S3xnViVq+klwpS7d+lLUChQzDTx76/o85ljkwtFl1nvYCUcE/0ASRCNlhlxaHE1PFu7JUsPspvXb610Xn+8edyrAuMfU8p1Xb17CUWZRUu3Fyv4+WjprNAgrj8vzHMGK8lMPCdjyY0AG3hHmFs1+ry0M0SSfQAlfwschjNQ2YOeuI0eXLokiESY9C5knmZF68g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=kernel.dk smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XaNMzxoG2eScPPvYOEWiCLCN/uTciIDbMbfl7KLstPQ=; b=etz1KsKZ4C/8YXM94B0RAg78iPizwPZEMZRvjEqRHj70F95ZYjHY+TKqlMALYGwBPj4AoMymrNDvChaaOvk+cgU0ulkIirPp3MCyvN/JivalShwLyqRzprd08bYVdS+FBOBtaYivxqH/oEbP2cHBAHOTGRWjqHf5lZ4Pa5cWYXE= Received: from BL1PR13CA0259.namprd13.prod.outlook.com (2603:10b6:208:2ba::24) by SA1PR12MB9492.namprd12.prod.outlook.com (2603:10b6:806:459::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8230.18; Tue, 10 Dec 2024 09:49:02 +0000 Received: from BL6PEPF00020E64.namprd04.prod.outlook.com (2603:10b6:208:2ba:cafe::40) by BL1PR13CA0259.outlook.office365.com (2603:10b6:208:2ba::24) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8251.12 via Frontend Transport; Tue, 10 Dec 2024 09:49:01 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BL6PEPF00020E64.mail.protection.outlook.com (10.167.249.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.8230.7 via Frontend Transport; Tue, 10 Dec 2024 09:49:01 +0000 Received: from BLR-L-BHARARAO.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 10 Dec 2024 03:48:58 -0600 From: Bharata B Rao <bharata@amd.com> To: <axboe@kernel.dk> CC: <bfoster@redhat.com>, <clm@meta.com>, <hannes@cmpxchg.org>, <kirill@shutemov.name>, <linux-fsdevel@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-mm@kvack.org>, <willy@infradead.org> Subject: [PATCHSET v6 0/12] Uncached buffered IO Date: Tue, 10 Dec 2024 15:18:42 +0530 Message-ID: <20241210094842.204504-1-bharata@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241203153232.92224-2-axboe@kernel.dk> References: <20241203153232.92224-2-axboe@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL6PEPF00020E64:EE_|SA1PR12MB9492:EE_ X-MS-Office365-Filtering-Correlation-Id: 64000f0b-e162-4ebb-f0d0-08dd18ffe05b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|36860700013|376014|82310400026; X-Microsoft-Antispam-Message-Info: =?utf-8?q?nwI+k1Ww+eDWNbXZ4IbVF/e8msM3ZCR?= =?utf-8?q?nfYx7VBpGNPtQeAGiOdEWdiqxgwaNcU5kyllzfjchuDmJq2LNAhh0aV2D2FIGGTMC?= =?utf-8?q?ODXlLB6OMCky659al5eRBOEjSTw0eiEJzRFD7MfFjSpgYorggQz7JUHtTiMYUoYL1?= =?utf-8?q?GCs5q3NTJCMbw466O+wIsNjkbYdJBeFqrmMW4kCAE+lEuJA+lzFlMAQwCkTdhIwex?= =?utf-8?q?F8hZB3Xme7YXn2RL/3nuivJcBWjn3eZgYyTmE6JxAYOeDLArlnjhF0MXmNZtyAU5S?= =?utf-8?q?XQ2Bo803RgI4vxNvE6NadLVBpE6TPKMyHO0MjDSGWDkBSO8CJ5xTNrgQu7qmLEZaF?= =?utf-8?q?ryoVGcPB2UtGRyKSF4dFlrSLwu9ZsgGbF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1AdlJrVhNJcCT1qsunM+4EaXqQAlNJ5w?= =?utf-8?q?vQSSOaBJJL85ZHplazIulaYR0JTAGbeC9uGUP7uDYCcK1f7Yu6Xb0fB3nq6Z3AVsF?= =?utf-8?q?Xw4I6ktR0RGSgRvlB/vun5CFYaKMLxgzCQ=3D=3D?= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(1800799024)(36860700013)(376014)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Dec 2024 09:49:01.5702 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 64000f0b-e162-4ebb-f0d0-08dd18ffe05b X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BL6PEPF00020E64.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB9492 X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: B451F80007 X-Rspam-User: X-Stat-Signature: xwpmt4extpz15papcxjcgujemointsck X-HE-Tag: 1733824106-899302 X-HE-Meta: U2FsdGVkX1+1YfNiubdazx7Nojjc9u+QtKwcIgbwiwco+BaF7gaORbB/4e8dYTkW9JqiZ+cIah85SDBHItsKkT0p1hTU2hLM4zjgQHp6xVoT3a3H/YXGl3ME9CmUYGk736/4bcXCS4UehhQjrSdmFusK9AHRXpM2D8t4ufF2gIPUbP7m6ej6PAkkzHoYF73z0B/vhVIc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ngrxdkstz7J5sqAa58PS3JJ0+TdgmDduy5jLJYdnfy5WjZBcN/DWfvEemnFDWfPPcSTLEmUdrMQESO6kQ6JIYk0juu5CagYxeC++i4nka8dB4iwOKo1X3ARK+kltRNMqshjhvihVbB6T9gnXYhYMWAxEyiA9ebvOl8iI2DGWmdyO/zcAy0DrRY2ZrrxmwpIMoD0hcQ/J+f4J51+rEnotVthgHnzTZ5MYz1aQkyS8SnvqaCy//dpDGMwbX1hSiAsLon5wG6WNWqsxqv+pQRZxYPlWJxFut9vgWLqd693CaKQ/rLrGZtw11UaORVfAQHmARzP2/VzIN2oBo= 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: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
diff --git a/engines/sync.c b/engines/sync.c index b8be4eb3..44e9da3d 100644 --- a/engines/sync.c +++ b/engines/sync.c @@ -170,6 +170,8 @@ static enum fio_q_status fio_pvsyncio2_queue(struct thread_data *td, if (o->nowait) flags |= RWF_NOWAIT; + flags |= RWF_UNCACHED; + iov->iov_base = io_u->xfer_buf; iov->iov_len = io_u->xfer_buflen;