Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4477007rdb; Mon, 11 Dec 2023 23:47:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IFv4Tl1mUIYAOYzpz1mFuPZdsIDXdr0gssPnRt+4S8pieysEemr7SkYjMu2V1PsuKPlNzR6 X-Received: by 2002:a17:902:e88f:b0:1d0:8876:7078 with SMTP id w15-20020a170902e88f00b001d088767078mr3122263plg.44.1702367243871; Mon, 11 Dec 2023 23:47:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1702367243; cv=pass; d=google.com; s=arc-20160816; b=KArlK6Q07+qMa8JhZPgAUhSQSCADtx4ogu5MSfpUu7205HuhDrtLyJ96D8qV3GNnR6 Asee33coStKh5EToKo9UY9DkpW8YnZgkLAMwEa2P95Cx3dgx1KiDAH2I73vwY0XYq7y0 UMp23lVgTVb21SvBibRaKTBNhkpehS7+yRe1qZneQemiWXYiBXyohU89FKHiQ+UzjDfX 24DuHYTERKBMFNepMRbA2GZ41I/6UMZWEXc4IaWU4C5t1OI1/gncVCU4mglrN299AKU/ nQzLEEB/vI90gy/LyO8Ml/gnn+QcYTRcgd06ZruP9f5mNEBqNwW+sAw47c5IXRelqSQ1 x3ig== 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:content-language:references:cc:to :subject:user-agent:date:message-id:dkim-signature:dkim-signature; bh=EzEtjp0WNF8f3ElMEi0MBd68dpq9vmhSDOuicGhuEgc=; fh=+XhujX39DdBukUcOpZVY8SQR705DibGc5SkIoiTDu64=; b=lOyxLXzDjhcNZt34EHneEl4x173fXBPTJqXlfKH7CZ6UKHlW7MrBdI0mXID2SUGVUL r1gj6p43CJo7BhP1NqEwUpEh5E03Gq7MtUPfL447sdWNW6pwgFuwG4Zr5ReHZWC8Xr2a KtlxwMAIMtTlSPuEggpuP1h1R33EeMkDOpt3RTCpSLDPkMQaSfJIUZVCcRCxhfcLZo/W 7UsiJUr4BMgvBd16gwwTnB5HZZG+/+tZK8np7HAOjPTRVZ2VQJ0WKOAvrFmZPRiIYNqI 5NcEE++YYaJ5b1PdK9SMFWfrTToJrhIOoiVGDqxoJNu8SZ+mZ3nUBCWgrr7195Nr1s0I wwMw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b="TzXLu7/a"; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=BDmU6z7i; 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 p11-20020a170903248b00b001d094766f1fsi7368265plw.404.2023.12.11.23.47.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 23:47:23 -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="TzXLu7/a"; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=BDmU6z7i; 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 7657D804DD92; Mon, 11 Dec 2023 23:47:22 -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 S1345996AbjLLHrN (ORCPT + 99 others); Tue, 12 Dec 2023 02:47:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346012AbjLLHrE (ORCPT ); Tue, 12 Dec 2023 02:47:04 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7813ED2; Mon, 11 Dec 2023 23:47:07 -0800 (PST) Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3BC7hl8N020148; Tue, 12 Dec 2023 07:46:58 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=EzEtjp0WNF8f3ElMEi0MBd68dpq9vmhSDOuicGhuEgc=; b=TzXLu7/a3wdVOGveQGGb180Fy3bMWRYPFRgM/PR6uuJz0aPtQmJ0Vd+Kh6CMPudr/xh9 yCSIkaRxXl2xEdBRmvz0OTuP0TDW3ZVfUJMplT+0Hl7y2PKVcjbqgk5KKEwtM1OOop9d lHSUP+AkAMGzQr/WQkP/9PwYiEg97CLP4becHmXixLCChtaqV9gwNNbqgQmNWEiADZAa gKxkvImzVk+vKAcg/94ymwF5Zm3jurcQf2mHQVfWO4jfm4paJaXytnONHFaNyLUHfZ62 Ejmo0pMj8vIHHtY9LKXwZShPb8z3n6tyr61BXwHDamd/mH18DibJB2o5JB+dbNowXwKg 1Q== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3uwfrrkawh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 12 Dec 2023 07:46:58 +0000 Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 3BC70x44003100; Tue, 12 Dec 2023 07:46:57 GMT Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2169.outbound.protection.outlook.com [104.47.58.169]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3uvep66s4j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 12 Dec 2023 07:46:57 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bKvOsPSB9ghvRAJ+Pgaf+Cj+qq95+3yzxSf2XdgjvJ1S7D9YfU2FL/IXiwKFgaCSf2aRWY9IjPMiSdWJsQAMnAI0M9DquoHreBSgK1XnR2G1UOa7dFuf5QsIU/FEx/wbRUSagBRMIgsEGdibug/RqJGrc9uaT+GOY/LxLmnkeWObrvmIgwZOaNZlogHf3DmoFA9tQD0Hqh9EHko5h2k53mwjBp58YdQ7jZ11MEZvYKfGesSJwr4NPjoyQzMC2ZNkffDmEyRKjXeWGmekQBmyKwP+2Sk5lpFaJoNv+0RLo63BpE4NYEQpKmtBQvXf0n1fGAYie2Dja6j221Ub45pl3w== 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=EzEtjp0WNF8f3ElMEi0MBd68dpq9vmhSDOuicGhuEgc=; b=YBMTyPXLaINqqQJ2zTD1J4w/6I2uWKY/0cerrNvKa01xWZu5B1Sttt9101mW+5cIsuVo8v7hjsGVGXVta3bKkyRVjkJ/36hxpT4e5dQNMcX6vCGHrkEPQAtp8yr7/iSgkzj1rs1OCliKM9BYJrZZ+gtgN0af4vdnMw1J6uTggqpoOt+l4cRvTtFNFD1o5PMm0YiJl78Gy4i2ZVHHAiAQXUC1sqXL+9DddzQBBFgKGqsy0hWwXxOzmp15R5QnaVd0/QmT1keboaSmBugaOVxLKkLsl20B1sahO9GsJxQ7iM3V0mXYBzaJbHC9yvJA1A6ip9d1eixlsQj29knC5O7vWg== 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=EzEtjp0WNF8f3ElMEi0MBd68dpq9vmhSDOuicGhuEgc=; b=BDmU6z7iFlecLZb0jyQYX03GuIQ9veL/zwKrH9OcWeGI5VXE7efJyP+urrBaoVk6DaA3ioUMaVKjYxkE00dD7wFI+qGY220R42yvQBhOGL/vAbuZ/myXExGf/6AXzWoezwIWcZHY1E4VOH8LincCmwpAJ8K8g/HbSvWe59/3VeM= Received: from DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) by SJ0PR10MB5615.namprd10.prod.outlook.com (2603:10b6:a03:3d8::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.33; Tue, 12 Dec 2023 07:46:55 +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.7068.033; Tue, 12 Dec 2023 07:46:55 +0000 Message-ID: Date: Tue, 12 Dec 2023 07:46:51 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [RFC 0/7] ext4: Allocator changes for atomic write support with DIO To: Ojaswin Mujoo Cc: linux-ext4@vger.kernel.org, Theodore Ts'o , Ritesh Harjani , linux-kernel@vger.kernel.org, "Darrick J . Wong" , linux-block@vger.kernel.org, linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, dchinner@redhat.com References: <8c06c139-f994-442b-925e-e177ef2c5adb@oracle.com> Content-Language: en-US From: John Garry Organization: Oracle Corporation In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P265CA0297.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:38f::6) To DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR10MB4313:EE_|SJ0PR10MB5615:EE_ X-MS-Office365-Filtering-Correlation-Id: 0699aff5-8c0f-4c3a-43ff-08dbfae68330 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Jrg+ep2yD1ZgN7cIVcXfp0YV7QakwgqahxxNS8mX+Sjcrz+9YIa0R5PBq3rTd8KGiHRZM6xvfA+dgZezEVmK6wwLQslF6VVNCyWdVXRoYdOJs5a/Kp2QPDcAZ0a+ubHZUtt9/wMiKLZ5mVgDuCzOLwGUvKXgfi8PWlJ08p2BQt2+qO2A7O0Kv1qkLnty5YKP1Wi78MUmFU+stDdW9xIWN+EPVdzR99JzBMnN6zrzR1Tim+lq01SS1xqYheLG5mQMh0QZUbBI6i3I6eh9bf/Z/eQlNNxDDTQyYnb4TdIbfqbOo4TiQVTZLyFFAa7PDTIkcWyK6+Kl9X/VqBYD5RkgSKGq87uHgxUeqFA2GLQEVk+ZEaOlbmYxQv0gqfxPIoBZAe7MZAOjDxblslOxJ/oez1bGgj4XJ9oglFhcXiXFwUsJk154j6u5agBTDNSeMvPMED3YJJhpi2Iaw76f4LKMwoCihhnIirJkRq+SfDhPzowAd+3YLkGGZOLKQgoB9sf+nwDHwL7p4NNH/jwbIjQZT1VcGoRcTEBw/gMIJ9jmN22AZsngtmKnFsTB7PzLyfjHIPuXAOysbnbyIDYmrgXjZHAHFAZ5ey/5FavNhzxiPUm5JjNWxOsAKxbWEPenzGx5x57fU93lxsdkt+5UsTGJaKuqHS4Fodfu1AshRcPifVEpRko8xj1hAARxnzwdk1uB 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)(346002)(366004)(376002)(136003)(39860400002)(396003)(230922051799003)(230173577357003)(230273577357003)(451199024)(186009)(64100799003)(1800799012)(41300700001)(38100700002)(8676002)(8936002)(86362001)(31696002)(316002)(36756003)(66556008)(66476007)(66946007)(6916009)(54906003)(478600001)(6486002)(2906002)(36916002)(6512007)(31686004)(7416002)(26005)(6506007)(53546011)(5660300002)(2616005)(83380400001)(6666004)(4326008)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Zlh5UWdYQWI5b0hSdlBRN3MvVi96ZytNRDRpWEdhOEVITjNEd0xqaXYwazI4?= =?utf-8?B?WEVHK2RUN3Y5YXltOExpRnJaNC8rWVErM2xFaXRhUmg2Q0xoOFhUTWhVVXV3?= =?utf-8?B?R2VQMmFsNGhXSTQ2RCtKaVVxN00wWnQ2UDdOMm9pL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JKJG4PM3zPXhA2jaQ0umLu2UL5osvhWGdsjQ3Vv16NU5Q0V4DLH7+VZWfPWbtXWqT01T0RW3Ap6ysNrb5yUptv5vEkZBQyVZ0bYBHl+0q3qLtWWawlsEhUnUTlf+l+t/PlyYiXYWQkJSm247++f40x89PoeOVMcDDAZ1MRkI4VkqDChWAg= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0699aff5-8c0f-4c3a-43ff-08dbfae68330 X-MS-Exchange-CrossTenant-AuthSource: DM6PR10MB4313.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Dec 2023 07:46:55.5759 (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: WUPuLCr5f6k82auMvpXUxZEsRO8BImt+Sa8ldSf5+ve0FPhUhooAEmCoDiTz/ZZXzgQo9ukcAjjnipk5igWd8g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR10MB5615 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-12_02,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 bulkscore=0 spamscore=0 malwarescore=0 mlxscore=0 mlxlogscore=869 adultscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2312120060 X-Proofpoint-GUID: V3GPE70KL6D4XoLPtR_qhKRayaFdmtp9 X-Proofpoint-ORIG-GUID: V3GPE70KL6D4XoLPtR_qhKRayaFdmtp9 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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]); Mon, 11 Dec 2023 23:47:22 -0800 (PST) On 11/12/2023 10:54, Ojaswin Mujoo wrote: >> This seems a rather big drawback. > So if I'm not wrong, we force the extent alignment as well as the size > of the extent in xfs right. For XFS in my v1 patchset, we only force alignment (but not size). It is assumed that the user will fallocate/dd the complete file before issuing atomic writes, and we will have extent alignment and length as required. However - as we have seen with a trial user - it can create a problem if we don't do that and we write 4K and then overwrite with a 16K atomic write to a file, as 2x extents may be allocated for the complete 16K and it cannot be issued as a single BIO. > > We didn't want to overly restrict the users of atomic writes by forcing > the extents to be of a certain alignment/size irrespective of the size > of write. The design in this patchset provides this flexibility at the > cost of some added precautions that the user should take (eg not doing > an atomic write on a pre existing unaligned extent etc). Doesn't bigalloc already give you what you require here? Thanks, John