Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3696295rdh; Tue, 28 Nov 2023 00:57:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IF196fuiiXIhhyTaxulo/HIG/KRrCrhq6MCBnEba8Brg1KvwoYNHcZXKRXrt9AA99unPtnL X-Received: by 2002:a05:6a00:1a91:b0:6cb:bb61:5686 with SMTP id e17-20020a056a001a9100b006cbbb615686mr14141089pfv.31.1701161843883; Tue, 28 Nov 2023 00:57:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701161843; cv=pass; d=google.com; s=arc-20160816; b=SnlMv2TGgqjNVTV+I+SZLo78nQhzUsB8fF5pLkkd5z7jYf7C/NclM1vI9TNRVbDqh2 AAChF00L65dOvLsf6+djIPahtWARx2EbrXi7qIzaFYLmbgfvBuTQ+rJpTb/b2cIQ3+/K NrSGT567Hx850HWB/Yz2NLCp3RbF5B3y/ZDl6w8P21gD9JGtbwMdjQZD2KU1LMehBFOo fh1gY7u1+c+goh9D1TAXCfZQ2wuikVDFh3wLuYxWMQv/hvj5guSjoIVpQ3caHqyelB/t QwKy9fwD4Kf/kIJFrKvbG0Se4bgsyTKEzWCQgX9ulGuyKLQsngmzoyIqD9637rsUhHNL I4QA== 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:content-language:references:cc:to:from :subject:user-agent:date:message-id:dkim-signature:dkim-signature; bh=J3SV7koUqNwnstklPVEKbZdt7Jahxpt5hhW43yeCf8Q=; fh=jSQ2Zdrfk16pKPBHQjz914jEy8V85L0uWFAEN/YjvC4=; b=R51YtSQ72nluGiMYs8xsJWx5R0CqvBYojVJq7CRgTYM7evor4khruEO2CYJHf69Rvw U/P/oIoqF3O1d7Kci+X1RIxs1NUE+mQu+qmHCW2tiT8w9HZ8KWNZMuRh9524RItlbqBD vZLM1ny1O+jM1FI+ki+PjFwyZqBm7XJU+RfKe5KFNyt/G07D0CVWKKBsONzxXJGXroJn cI9+PDoTS7qK40mvtJjdAWybvFvIM1xAA8HCNpFQD/b04bXs7TmC+zkE/pd0RdvowzhL YxiDcr9F/fbUaUscTIY86JTokPQfoSs82mjy74hhNXZdcInPnIOYs1m+7J4uQHAGl5qP fDvw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b=dFZ+dvmh; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=O7CoGlpS; 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.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id f12-20020a631f0c000000b005b7e3ee181fsi11715558pgf.642.2023.11.28.00.57.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 00:57:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b=dFZ+dvmh; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=O7CoGlpS; 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.36 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 pete.vger.email (Postfix) with ESMTP id D603881A73C1; Tue, 28 Nov 2023 00:57:20 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344204AbjK1I5E (ORCPT + 99 others); Tue, 28 Nov 2023 03:57:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231902AbjK1I5D (ORCPT ); Tue, 28 Nov 2023 03:57:03 -0500 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84F59A7; Tue, 28 Nov 2023 00:57:09 -0800 (PST) Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AS8YBCb020856; Tue, 28 Nov 2023 08:56:46 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=message-id : date : subject : from : to : cc : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2023-11-20; bh=J3SV7koUqNwnstklPVEKbZdt7Jahxpt5hhW43yeCf8Q=; b=dFZ+dvmh/qvxoDtL8ZxkhCqagJpe9tEL83VAGi2WnMMVi2SghvRQFzlPNYoJAMAR5LZ5 Quzn6E7+lqzyvrm2qiFU6qGEtsLR7LFu9EblEC6ACqdT3yVX/8Fphde1Drkjgj6knQBv FQrMW+XvSOLqnDv9d30lQ3rZRgI1q33CTeFjcfzO/MQWwjIlOsIsY9uBLLqmicR7u6tr GaZgm9S7ob6WZqVyU8GkiQV5IYQT6QisQEMYeV30mtLWXG99cagDYbXZ0I0d6M1Qh+0H T0upgVIJn5u1MVNv0SzVUlvp8QY0OEWVjbzNsOOp6okvKd6Duccef6eqA7zSUf3tTFbJ Zw== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3uk7h2n515-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Nov 2023 08:56:45 +0000 Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 3AS8TvxJ027045; Tue, 28 Nov 2023 08:56:44 GMT Received: from nam02-sn1-obe.outbound.protection.outlook.com (mail-sn1nam02lp2040.outbound.protection.outlook.com [104.47.57.40]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3uk7cctbn6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Nov 2023 08:56:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EqnIgQKJ4n9k6hwmWDQzr4QGhfxXVZE5ymoNVVCRsT1ae5pJ7C1TFwtZeOBx5TEBqER+jaUBg8lgngvP0ubPC1oIdqIGN3HtS1Ak3h2IcG7zhaT0PZU5nsdD+IcMhMwg1Ze9ti5sTWg5bNr2ZAL1zmfd5XLtXFCxG1e6MaRqAtJSHLoawWoUNQXaYMZqfIUQwqHV0+TCG+fHdOngr6fiKFbagPLGADlrF8aZ50evvSqpRjr3MaLV1r4nn/EJ/oF5fn33gWxRZJL4A8/URof4vUFS54OSdS66B/hTAe7JrNzLcYn1z6TbkfwjKeO3Wn9GUkGA8PAM3ytBKA0VufDi3w== 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=J3SV7koUqNwnstklPVEKbZdt7Jahxpt5hhW43yeCf8Q=; b=D3hXCPNqRHObY5L0P0crTWIFqxJMe9bcr20h8KRkp9vKVwbikDCBYB3lkYUXNrSCWYN7QZIoNFiW1AZCs4B61q/SRqVpFdFchRIvBxfD6HHGuultKUSwb7JtFzITv/6A+UPJJ5IhzSm+O7zLDaTVBF/iCG1gUPf5BWSb6/vf0za5FJmuwsEoTLjxDWV9M8CzuVEcIcMao9VNykWJQpLoP+yommtEQ1NXC27qqd7HWVfcJYiElBBly7E7HLwMkgVXj0XtdTJO+ouu9tXQoZk4IOdYTllxBgOYEFVCutEh/RTOZqpNPoy2PKQnxW6hEd2GnwQKXQ0FMMoH7ST20gcmxw== 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=J3SV7koUqNwnstklPVEKbZdt7Jahxpt5hhW43yeCf8Q=; b=O7CoGlpSmB32AJp83ZKZDehWNCTQ5n9H4779Be6BlxtONKcX0UeUyrmvFevVui7txNX7ZqvH2At/gi4Pd1wLHYipgLQJ4Z8gnFeVUgBhPw5dWVQeTjwIsVmY3e7ds8VFWW5uCfzIHz3I41Oc4iWtOL5P4wy5tOGuQsDV4YzJbI8= Received: from DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) by DS7PR10MB7376.namprd10.prod.outlook.com (2603:10b6:8:d9::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.27; Tue, 28 Nov 2023 08:56:42 +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.7025.022; Tue, 28 Nov 2023 08:56:42 +0000 Message-ID: Date: Tue, 28 Nov 2023 08:56:37 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 17/21] fs: xfs: iomap atomic write support From: John Garry To: Christoph Hellwig Cc: 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, tytso@mit.edu, 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> Content-Language: en-US Organization: Oracle Corporation In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P123CA0462.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1aa::17) To DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR10MB4313:EE_|DS7PR10MB7376:EE_ X-MS-Office365-Filtering-Correlation-Id: 3350faf5-023f-4092-d272-08dbefeff0ca X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZGE6R+BZ2kneu8+xiaxFxBurLuIG3bcuzv9eFJDArx7hghd5qSqTcxwvX9gC5km1bu9JXlRyRiCWazRyKeu0WX4AccWFOg3zKT46C8XRScEyTNeYTsyS8C2fo+IeitSuwyzDGRn9BKMjf42IySTB2O/nslPRNkTUWhG2cFKZ9i15PDLNCICnSLSAZr/VYYvH5aoaeoWAtmy2q/e873rg9x1TJGw7Fb08Fowl4dMULVL4XUbBb0bMmT7kyGDnsSZVmuS4WZ9va5uTdcHFV4vtOwQ1ii8ZysJngrYt8W7kA5JxSabAwcr0GBGYxYsXzrH3LiZPIvs44zps+xrqJfSEPD+AwLCZ5zk5vU6RRj5Q8BPo9B/sxwhUwv4FwxpyrCgR/sdr9V/aJhfHx1Xbyds19JLck/vRoT7tTFMg/+21H5971yFyo/PJ2BCweU/WZCH2v13Wj6Bc3bXt+FlQDwVVLTdg6zj7ID0cyITyW32rGnPdbWSYX0P5421V6zXeITdZPbgHFYiK0h9tffBWvx7rY6sFeu5Ye291WyAi2ThBhiC2IJfNrO1EX9rljAddjB9geLrPhSY84o2XPkI0ESXPncwF5fESezZqga2i/EfwCzAIAqxqqLxaKWCuYeL2mbsGN6om7hPh9tsAL45ATpo8Kg== 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)(376002)(346002)(39860400002)(396003)(366004)(136003)(230922051799003)(1800799012)(186009)(451199024)(64100799003)(38100700002)(41300700001)(36756003)(86362001)(31686004)(83380400001)(5660300002)(7416002)(26005)(2616005)(2906002)(31696002)(6512007)(36916002)(6506007)(6666004)(8676002)(4326008)(8936002)(478600001)(6486002)(66556008)(66946007)(66476007)(316002)(6916009)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?UjVsYzBkdERlRUZ6dmtmb1RtTWNJMUc4NlZVb1NDa2tvM2Nad1dOL2hhclps?= =?utf-8?B?S25HcnlnNDZ0WDB0bGVPVURtY3l3R3dYcEN1cVBMZkxxS0xiaDRBQ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T0=?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3350faf5-023f-4092-d272-08dbefeff0ca X-MS-Exchange-CrossTenant-AuthSource: DM6PR10MB4313.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Nov 2023 08:56:42.1307 (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: 8lznJaBr4HhcB5emR4xVGJu0ai+OGd08RK0F5QI2NTPe6dqu4jPPSjQyGgJmQS9bWeEt7D73kNPlMCW90DM44A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR10MB7376 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-28_07,2023-11-27_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 malwarescore=0 suspectscore=0 spamscore=0 mlxlogscore=999 mlxscore=0 phishscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311280069 X-Proofpoint-GUID: 5bAyPVDMnnE44xU58OSS42dRpouXa_TI X-Proofpoint-ORIG-GUID: 5bAyPVDMnnE44xU58OSS42dRpouXa_TI X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email 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 (pete.vger.email [0.0.0.0]); Tue, 28 Nov 2023 00:57:21 -0800 (PST) Hi Christoph, >>> >>> Currently minimum granularity is the FS block size, but it should be >>> possibly to support lower in future. >> I really dislike how this forces aligned allocations.  Aligned >> allocations are a nice optimization to offload some of the work >> to the storage hard/firmware, but we need to support it in general. >> And I think with out of place writes into the COW fork, and atomic >> transactions to swap it in we can do that pretty easily. >> >> That should also allow to get rid of the horrible forcealign mode, >> as we can still try align if possible and just fall back to the >> out of place writes. >> Can you try to explain your idea a bit more? This is blocking us. Are you suggesting some sort of hybrid between the atomic write series you had a few years ago and this solution? To me that would be continuing with the following: - per-IO RWF_ATOMIC (and not O_ATOMIC semantics of nothing is written until some data sync) - writes must be a power-of-two and at a naturally-aligned offset - relying on atomic write HW support always But for extents which are misaligned, we CoW to a new extent? I suppose we would align that extent to alignment of the write (i.e. length of write). BTW, we also have rtvol support which does not use forcealign as it already can guarantee alignment, but still does rely on the same principle of requiring alignment - would you want CoW support there also? Thanks, John