Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp204021rdb; Tue, 5 Dec 2023 03:11:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IE4mEzbsA9wBfYZ2z5SchT55Hz4Oc+3wHXtLekTU7Jrw0c8qYaIe9eEP7yiOEtYtW1MxV8B X-Received: by 2002:a05:6a00:4387:b0:6ce:2731:47bd with SMTP id bt7-20020a056a00438700b006ce273147bdmr1198484pfb.29.1701774685640; Tue, 05 Dec 2023 03:11:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701774685; cv=pass; d=google.com; s=arc-20160816; b=dUTjTl2wsOsoLrFpiTp7jRdqauSKjsfUxp2QyZi/6qaXbmM/wdogOwS9LGdt5ro4FR 64hZ/leG7oWQDz+Z18TeKH47P82Mv7nIcFO/2gjAnQJRnCG4J87pht2WkMI4tFdqXOoj FBzPfU7WIwBlMgZUeFLtXGLz8TMdYybJ4Q8Pdd/HCvH2WZZu1l/SD2PTR/bAzCrPHDeF fMFMniPZQdtov/ZcZptug10S25swlmzFx3O+MWixWlyx9jpULfvLeePzG6CWdyOZXGmO 4Ez3pd/75CPbQJVfAkHshUkypjJhEnyxrmfPLokX4dJq4D+L9rtqVSC94ArlWZF4fzoF 6zgQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:organization:from:references:cc:to:content-language :subject:user-agent:date:message-id:dkim-signature:dkim-signature; bh=QYcm/eL4cgZQi0mx03/95Rvu1TPcMKGwMAkBsig0ojE=; fh=hpVUo8DdgEcgNcYGSaUsU0zxBZkwF7sb/NGP537KjTI=; b=ozsr+lUvYng1f8K+WbGSevnsNNfGdqKo1dxdHK7PH7er9GDq2D0OEaJshAjK8nhVi1 RNGGGwcQLKlcVDLayK2XGsJ6xzyNEbiUNv5dMLCliaL+yMqve4aLwU/nTBZtf1AfeAC0 DMMdch81KA2pQkH6Ym+XFCEMKPixfMkhH0TUlxecw5KHlUgaccncypmARXOKkoCNSuBw Qf1v/CRJKatnodBdo/rlRTlcVUb4XWkIAs2AiPsRvBdpS/3dfY/o1gqNSbbw8OM+Aw8H LwklvIfrwUaJFLx14xkYKDixc7cU9vBpN6j0PNO5MssqsfVv71jfNFC8F+Yj+Qsdl6/Q 4x9g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b=NDyqT3Ww; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=UEwbplBF; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id f5-20020a056a00238500b006ce54dc2d09si2991283pfc.254.2023.12.05.03.11.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 03:11:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b=NDyqT3Ww; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=UEwbplBF; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id EDA38807EDB1; Tue, 5 Dec 2023 03:10:44 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376850AbjLELKc (ORCPT + 99 others); Tue, 5 Dec 2023 06:10:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376686AbjLELK0 (ORCPT ); Tue, 5 Dec 2023 06:10:26 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B5F9135; Tue, 5 Dec 2023 03:10:17 -0800 (PST) Received: from pps.filterd (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3B5AT6aB005616; Tue, 5 Dec 2023 11:09:54 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=message-id : date : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2023-11-20; bh=QYcm/eL4cgZQi0mx03/95Rvu1TPcMKGwMAkBsig0ojE=; b=NDyqT3WwBIvEUutG4UxAj87+RNZIP1D2Q/AMDvgRCgZFzE8/gLqGW4tZIkTnZ+P9rOXb x6Dqoi+wUzV/+kK6ymPikACZxMhQWohUfaoI371pXhrYGgcz8l7qY+jJJ1Mfl966vYXq cX9tbyEY0LerLu/FGiNWH93eIl5O7f26Nq8yRI9U7zrh4lxY1kUz/C2e+MnO/Fs0SyD+ Nik0YWfe3U2SwhuwVM3LIASv1CzuSgSOnGyFTViPQMsRq1lHzkPSIUuVUDbXea+d17Bv La9A6CpSbTZRW0syKQS7lV73Nk9h6vGL3YjtmOJPjK/Ihqo/Fr3wsc5FO12E3M0qm7j9 Xg== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ut0qh09wr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 05 Dec 2023 11:09:54 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 3B5AuYFj025939; Tue, 5 Dec 2023 11:09:53 GMT Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2168.outbound.protection.outlook.com [104.47.58.168]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3uqu17b4hf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 05 Dec 2023 11:09:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h5NeIhnmPDrOcTGCVsS17RFMOuIANfML6O0ZKcd3uaRN0OuaLzoI3kq7P3+xiOWc96nFIzd45Xlr1cAxm7rGfGctP/6UpPWZoQVB7KGBWbpFoMQ69B7D43AwiMdfB3xC+qMfu9fvFNdziBFSAw4ZkMjbvmCtGJrGOSPx6mjJlDbEUeEgU5iQ/SHGIWSgZD7w4twTm83dHYPMEVVCCoKeC9NaWN7ZLNf4XBzeLYICpRKlVDgtRFqHUIVpR8WZSyeMu3mg+S0xLMLqNC9JpG0XWsJTNIVx5xVH0+A/GrcIpjK2mDxsKoODMsYEscofikAOUoBou6PrdprFE+XazI5v3w== 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=QYcm/eL4cgZQi0mx03/95Rvu1TPcMKGwMAkBsig0ojE=; b=F9bT17QLi54ZrIfhv33m2bzsmk+ytBxNZ2zgGJTLId0fcF/P8CKvkp6RdxapJKgYhkJtJT+ScjJoGkJ60sPmspVr1ZSzT8r6tGWsj6lUQ6cGNOmWxjD1ajjOBYZTQljL5G/0G+eNgSXjCkqdjZEkkSiTW4Vn0k1L8XcGg6Si2Swsi581HYdFSRtS0Uxm2kyUZnx2RWeY9PNaKVUTzYZ65EqV5F72xoPbTQ4m9WlDJcXPiy7KcAKju9Bw63xzgsuQJO+3GQuH8TSZZhs101FDqvOwZbloZocb2sBGicPptdOU54kLC2DL2TRxamPqj3uCWXqogHv7Vzdrcfiyolqhqw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QYcm/eL4cgZQi0mx03/95Rvu1TPcMKGwMAkBsig0ojE=; b=UEwbplBF1yBJoS1yZ8kPHMvIK80gJc8KbPtXX6OyTsihJzkIWB22XMCsbdzOkvd/SeBn3X4jHszxSPPkfC5tcfK5pV71+2U/YA4akDqaQydZuDCFgl5tZZxJiSw6GQ2scOT+Dawg/8KwGogV9fa5sT1wnktvs2LobKBG4K8e5Sc= Received: from DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) by SA1PR10MB5757.namprd10.prod.outlook.com (2603:10b6:806:23e::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.27; Tue, 5 Dec 2023 11:09:50 +0000 Received: from DM6PR10MB4313.namprd10.prod.outlook.com ([fe80::102a:f31:30c6:3187]) by DM6PR10MB4313.namprd10.prod.outlook.com ([fe80::102a:f31:30c6:3187%4]) with mapi id 15.20.7046.034; Tue, 5 Dec 2023 11:09:50 +0000 Message-ID: <4b41c8df-bc56-4ff1-b2ed-70ec00080f95@oracle.com> Date: Tue, 5 Dec 2023 11:09:46 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 17/21] fs: xfs: iomap atomic write support Content-Language: en-US To: Theodore Ts'o Cc: Christoph Hellwig , axboe@kernel.dk, kbusch@kernel.org, sagi@grimberg.me, jejb@linux.ibm.com, martin.petersen@oracle.com, djwong@kernel.org, viro@zeniv.linux.org.uk, brauner@kernel.org, chandan.babu@oracle.com, dchinner@redhat.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, jbongio@google.com, linux-api@vger.kernel.org References: <20230929102726.2985188-1-john.g.garry@oracle.com> <20230929102726.2985188-18-john.g.garry@oracle.com> <20231109152615.GB1521@lst.de> <20231128135619.GA12202@lst.de> <20231204134509.GA25834@lst.de> <20231205045539.GH509422@mit.edu> From: John Garry Organization: Oracle Corporation In-Reply-To: <20231205045539.GH509422@mit.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P265CA0139.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2c4::14) To DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR10MB4313:EE_|SA1PR10MB5757:EE_ X-MS-Office365-Filtering-Correlation-Id: 4bba4f7e-1ee2-46ae-b40c-08dbf582b2e9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4/8mVAioN94YmWQC5B6nAX4XCsDCGLAeORrUwIwD1/DnqA8ZXkOzu6k4ZIRMdwMRt2lMYQyhLebeLge6gAK+J1pfFnpRucX+uvRbUDpTvcU6OT2jXki+NNbh7EOtcrFfPTcAJLJHnFhX/xlYQTheXGsjEI+OAfAcFjl09SZ0rrzNNMKaKt8QXQoc95z65UO1h1/mVob3TbwSIwWVlBDf6ttO9uZGFRf+98w2qyAld0KsHy80zRcieODKgYA0jLKe6q4MtvCTP29Gy48GWtHwyn667DW2VPsoEEBgkkEch1yUrheW9qlW33WG8iVRmRTwXwk67KwlM/7Z7bRS8nn1jXPtf43rH/qKfmPa9FTcAdJjVwg/6lIbd9oBzC1aQyz9akjdxhynu4BtZJC7vIAgb+EiIDnrv2cfVfhiYuu2om1c9Y5AH6Y5oYIp+FsczIcDNjpVSK72qqo03x+CthwPxVGoE4jM+eXgBxGDBK+qDyWctF0SkR8V1yBV1naWB5YlDVK954TGGv5GLi7c3NGtVIOLZJfYxS+pfM9LjOKYNyggWCvJaBvCeHKwBP005Vafesvrb2VrflBJyQdZJnMnOWWHO8Z/kE1K5Q8oVKDBnfzgZ+jturRH5Ym1kGSH3UtJUQ+0SLwv2twWKXW9nwddng== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR10MB4313.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(396003)(376002)(136003)(366004)(346002)(39860400002)(230922051799003)(1800799012)(64100799003)(186009)(451199024)(2616005)(38100700002)(41300700001)(36756003)(86362001)(31686004)(26005)(83380400001)(7416002)(5660300002)(2906002)(36916002)(6512007)(6506007)(53546011)(8676002)(31696002)(4326008)(8936002)(6666004)(478600001)(6486002)(316002)(66946007)(66556008)(66476007)(6916009)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-Message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FXNGZqY1Bpem5MMWFiMlJHWTB2NUkzcEZqa2FPNUxvYkpjeE9W?= =?utf-8?B?SnNUN0dPMUdYb2lYWXcyUlVoQThnKzNmaFIrazhFNXlRdmhMRjUzSGtIQWZB?= =?utf-8?B?ZzUxWTM5eW15UWg1aTdOM2IvdVppUXVNcFpicnJ3PT0=?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4bba4f7e-1ee2-46ae-b40c-08dbf582b2e9 X-MS-Exchange-CrossTenant-AuthSource: DM6PR10MB4313.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Dec 2023 11:09:50.2673 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Dw3Si1y6jQyHa35hEeDVkuhxeRLvwJwWGU/49FL7E1Sggs1iooss/PhDp5Fy/lCGDTuC4tOIycXZpjPW8JxNqw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR10MB5757 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-05_05,2023-12-05_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 mlxlogscore=999 suspectscore=0 malwarescore=0 adultscore=0 phishscore=0 bulkscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2312050087 X-Proofpoint-ORIG-GUID: BbUjamf91j4j2d6dycEIv6q1nDjgghas X-Proofpoint-GUID: BbUjamf91j4j2d6dycEIv6q1nDjgghas X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 05 Dec 2023 03:10:45 -0800 (PST) On 05/12/2023 04:55, Theodore Ts'o wrote: >> AFAICS, this is without any kernel changes, so no guarantee of unwanted >> splitting or merging of bios. > Well, more than one company has audited the kernel paths, and it turns > out that for selected Kernel versions, after doing desk-check > verification of the relevant kernel baths, as well as experimental > verification via testing to try to find torn writes in the kernel, we > can make it safe for specific kernel versions which might be used in > hosted MySQL instances where we control the kernel, the mysql server, > and the emulated block device (and we know the database is doing > Direct I/O writes --- this won't work for PostgreSQL). I gave a talk > about this at Google I/O Next '18, five years ago[1]. > > [1]https://urldefense.com/v3/__https://www.youtube.com/watch?v=gIeuiGg-_iw__;!!ACWV5N9M2RV99hQ!I4iRp4xUyzAT0UwuEcnUBBCPKLXFKfk5FNmysFbKcQYfl0marAll5xEEVyB5mMFDqeckCWLmjU1aCR2Z$ > > Given the performance gains (see the talk (see the comparison of the > at time 19:31 and at 29:57) --- it's quite compelling. > > Of course, I wouldn't recommend this approach for a naive sysadmin, > since most database adminsitrators won't know how to audit kernel code > (see the discussion at time 35:10 of the video), and reverify the > entire software stack before every kernel upgrade. Sure > The challenge is > how to do this safely. Right, and that is why I would be concerned about advertising torn-write protection support, but someone has not gone through the effort of auditing and verification phase to ensure that this does not happen in their software stack ever. > > The fact remains that both Amazon's EBS and Google's Persistent Disk > products are implemented in such a way that writes will not be torn > below the virtual machine, and the guarantees are in fact quite a bit > stronger than what we will probably end up advertising via NVMe and/or > SCSI. It wouldn't surprise me if this is the case (or could be made > to be the case) For Oracle Cloud as well. > > The question is how to make this guarantee so that the kernel knows > when various cloud-provided block devicse do provide these greater > guarantees, and then how to make it be an architected feature, as > opposed to a happy implementation detail that has to be verified at > every kernel upgrade. The kernel can only judge atomic write support from what the HW product data tells us, so cloud-provided block devices need to provide that information as best possible if emulating the some storage technology. Thanks, John