Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2475344rdb; Wed, 4 Oct 2023 02:15:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHPlKzdQwjG8ZyUhH7WjS/gqqHdwUN6/4FM4nzzOHbsrv2gSbTTdsvFsXOdkUeS3Kzp9lCc X-Received: by 2002:a05:620a:284d:b0:775:d031:a0c9 with SMTP id h13-20020a05620a284d00b00775d031a0c9mr427362qkp.2.1696410945795; Wed, 04 Oct 2023 02:15:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1696410945; cv=pass; d=google.com; s=arc-20160816; b=q/frGNts9HkyoF1P9nq2YifIITqxjcFmiRq4YAMlfCNW1nrd4xb9psUTwZL46ok+HD 8jAxD5Q3lGuBrms03cuxR0xe5M71gupbLplFo7YSYirs/2jIfwQKyVVBbJyhKw4ROxmo WA2gC+2L/xrze6Dxm1r/t1Vu2QBIVx6lK32QBZED/wfeen7rj3WXvHKXmpPOoIUCVs1j qbqQ+c2Qw9Z4CDRoQ+fctjKc9iT1iH4mOAaXsrJlYg69alweo81Sjo16ID4mRxH6dmRx boLyRJMvSjvON7+N8tvHv2/lcBOD74PUcjXMrriblpT1jn9DG41y1rSe0DavRU4/i4XU gA3A== 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=ET21yQI9GGrJehp9qKnMQ0jIvy8nST/ScgcJ33/4zKE=; fh=3KTdo0MBR6/5BjknyFI7nH0/plWEUd8icNMgVAkI0vA=; b=Eb6hKH+m6td8HUGwvCvQNCk2A+/9PcgkAPWw+wuTUMYP8VGXEYMHsS3WnPqB8SHy0r ZM3p15JFx7GQIA0STGmfFZyqsDddO5hIsB5bTncZBztqXuDKESIjM4C7vmfJA5gF4JqO Uw59hCJObvQZmMTAtKkiP76WSwBxcYHLbkLF3lBm8PB+af8A5k9WY6FaOeF4LNVf5rro huxmaJM/xCesm4YbkYYzfvHIdQDIihsENP/f6aD8fAc9+mymKHdm7RiG8ZuhDacIjDcD ptLeWQG+5ANnPCpIfQWZhjVaVIxCVmYCLj611jlivYIDCHW4gy0HfwAyu5LM6mknGQ7j SuRw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=iFpZW5hB; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=TMeCK+4X; 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 2620:137:e000::3:6 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. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id s21-20020a63af55000000b00565f182839asi3236558pgo.28.2023.10.04.02.15.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 02:15:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=iFpZW5hB; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=TMeCK+4X; 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 2620:137:e000::3:6 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 38BD781A7BD7; Wed, 4 Oct 2023 02:15:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241974AbjJDJPb (ORCPT + 99 others); Wed, 4 Oct 2023 05:15:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241885AbjJDJP3 (ORCPT ); Wed, 4 Oct 2023 05:15:29 -0400 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24B96AB; Wed, 4 Oct 2023 02:15:25 -0700 (PDT) Received: from pps.filterd (m0333521.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3948iehR021245; Wed, 4 Oct 2023 09:14:53 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-03-30; bh=ET21yQI9GGrJehp9qKnMQ0jIvy8nST/ScgcJ33/4zKE=; b=iFpZW5hBiyfzGqYfjTIyYbDs0sTv+A/NB/huKVAUMGAjhvFFdvuvpqqAJTYGD35IE/SU QB8LbXPgNV2bTjpoF6xm9Pdo9oqzJwg/OM1wNsGVGoUTrrF+DcvQDcsYm0pkY/t3liIs lpTpq03dbi0n/aRpZJvCHSgtdnXfGo2o7tWY4q8Ae6MVXRRyfh95NxM4qovqcqGTMkBl HkpY0Yh3cMdmsLe7344jIWABn+O3PCEwBdxHzRyXCUPxpZSOEFN5odkjVdA4Trv7KTjS aBty0Ms7QlleYk4EuEPy0cKTSDtPAPEHCjwJDl9eioNVHwokB3YgMis3bTyjVzaMIJYg zQ== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3teakceny7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 04 Oct 2023 09:14:52 +0000 Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 3948h0Hl000377; Wed, 4 Oct 2023 09:14:35 GMT Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2177.outbound.protection.outlook.com [104.47.55.177]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3tea477s98-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 04 Oct 2023 09:14:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YGKVMiGnRQ2tDpw9StC3w6ViFO2EZVWBdvoI6tjRzREsjP1SkQrAhLtHpaiZSmrb34v+4wITcPn8RrtpR0z+4Q7AHM9gcJ9+iIQlY0q7Uu1kquTE3XVoum/QGTVlmbYgovki3tHLignWp0ECBY+vvI13HNC/dCMTN92WhFaNPkX23hX7P5rfFSL1BpKepFQQWMrbnQMq1z5xjj/ycz1bOMX7yY4a+tXezyHs04z/UuLhrq3Z2NyMQSb9L7lxWP52myDlka6Hxic5x2STBniVTvmLsCwIiJ9UDPppKDuBDrzUmG4YEmDGxHp1fk8m4OW0VfosuFH15jeTIfzreWBHqA== 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=ET21yQI9GGrJehp9qKnMQ0jIvy8nST/ScgcJ33/4zKE=; b=Pe5z2XE78YwI2aaj79l0ZUqiG+Oebw1wHNhBt0R47rc1cVoO4Ew8HZa2XQFtwUBJYmH8cBN871ImIpo4h45m1EKKOo/3VxUJEYw/LdUy0/dmsdRd0X8ce7TWh3AvAgVo9n2+2VTsHwVnA9S0UoBZK/oWfs4RSUXIwFDyYRHKnA5hT9RRxQXKvLVvmjprBKRE79Xo+idCGMJTYoe59ZUAqus+ubH1T6eKvrqm66H3psWhEngNrAJjWMlNc1RV6QhwqcZjsr7xuHJBQrNUcaI/c98mUK9BSY3dCULdFJ+h8zL2MutEl953YlmdkWHWAQiW7eoTByYMFNiX2XJOZM1qlQ== 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=ET21yQI9GGrJehp9qKnMQ0jIvy8nST/ScgcJ33/4zKE=; b=TMeCK+4Xxm3GkfAIwO1j/G4cnjDfvesNqAsAYK5f085u8eBNALiBHpZmK8jQRMsSNDe+VQ6yuVTb3ijeU6w8Ni8ZUB8Vw12fCEt9XRZslip2YYLpct8U9yGSdYyMV+p0XAs4bbEwZlGQColIUbCHY5pTNwCvcQw19SN6Z0Cl2qo= Received: from DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) by SN4PR10MB5797.namprd10.prod.outlook.com (2603:10b6:806:204::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.24; Wed, 4 Oct 2023 09:14:33 +0000 Received: from DM6PR10MB4313.namprd10.prod.outlook.com ([fe80::ebfd:c49c:6b8:6fce]) by DM6PR10MB4313.namprd10.prod.outlook.com ([fe80::ebfd:c49c:6b8:6fce%7]) with mapi id 15.20.6838.033; Wed, 4 Oct 2023 09:14:32 +0000 Message-ID: Date: Wed, 4 Oct 2023 10:14:26 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH 10/21] block: Add fops atomic write support Content-Language: en-US To: Bart Van Assche , axboe@kernel.dk, kbusch@kernel.org, hch@lst.de, 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 Cc: 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-11-john.g.garry@oracle.com> <17ee1669-5830-4ead-888d-a6a4624b638a@acm.org> <5d26fa3b-ec34-bc39-ecfe-4616a04977ca@oracle.com> <1adeff8e-e2fe-7dc3-283e-4979f9bd6adc@oracle.com> <8e2f4aeb-e00e-453a-9658-b1c4ae352084@acm.org> From: John Garry Organization: Oracle Corporation In-Reply-To: <8e2f4aeb-e00e-453a-9658-b1c4ae352084@acm.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO2P265CA0292.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a5::16) To DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR10MB4313:EE_|SN4PR10MB5797:EE_ X-MS-Office365-Filtering-Correlation-Id: a98943ef-f8bd-4dda-f13d-08dbc4ba5222 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /yz4XDWeYZIY5xmm4U9M3M7/Hnp3Kz4YnRjnGNNo7wqCP2NVsi21Cd2qvpMjkOcNTyRAZFSvRyDNFdkugZJYx9PSfnjV8/hsWJgCORiJsi2sfjx/+eWhaudW80gXZlSXOLZOgmNZzZodqQQxaITXZeMjwoILVItj6NxOhBFv+AJeCUKd2F2lAgVl1XjRSoH0kJWbGmCeW21IsLNWuSPx9+LuWqpUgksG2S/2rlKq2Fnf3VHBbliiSpjxwg2EKcfShlI5EDAqzmriFS2E0Se/R1q/4uTm3pjyxSFtvx/6quYKtLZ4ZYgH+ipwxqj6P66VlaeiEjiHFyPBFAhyOflLfvdzxFuNyP8fEip8fKQl15+yswuz4clnLNqC6kIXPaDD1/GrmsEPWUK1cW3ob/6dSpac/lPza0kzWwa3E313pal4W7NxtfSkcV8N5M8XSU9dLD52sJMfxbE83beOsp7s1pLo8j0AfwbtpMc8fJSYjGlgRMfK7vVeXRrc5r5tWdHLlwWRDNKTgkoAojfILl2agnJNS44CEDZUDQYLBiQxsxQ5LvtsCEqFeIl+1T0AmXCgo0xrzyHi+kkcN1yjOWMEMBYE0EQ2pwGyBXZ07QBw3FWt1L7qGFiv8NUpvgyZdWoG1kzZAR3oMB5KvgeFqvRcED6VOfUFD4o1Dg84YVcOgdA= 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)(39860400002)(346002)(366004)(230922051799003)(64100799003)(451199024)(1800799009)(186009)(86362001)(6486002)(31686004)(36756003)(6512007)(38100700002)(6666004)(31696002)(6506007)(36916002)(53546011)(478600001)(921005)(316002)(66946007)(66476007)(66556008)(2616005)(41300700001)(26005)(8676002)(4326008)(8936002)(83380400001)(5660300002)(66899024)(2906002)(7416002)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?V3FUaFFoRGdaS2c5LzNFenRHVnMyRmk0ZkNhMXU3US9UTlFzc3FYcDBMcWZL?= =?utf-8?B?ZWdUdWx0c0JhOEUwQ2JYM0pPQmRFSDJrYmtiRk1EZHlxOFlJUzMvL1cwNzBu?= =?utf-8?B?Y214QmlLRFRtRXd5c0E2Z3VyTVdQbVRaYm9xTjY4c2xhbDUySkwydzIybyt3?= =?utf-8?B?Y05kMlRPNzZRS1V0RnVXQktlZU42dnNyNkEwc0lIOFNGa2ExWVdzZnJha1dB?= =?utf-8?B?UTF0WGVKbnNDSUsyT2E5bnBJYktOUE5CYnNhQkF6K1RZZGhMUG9BRWJKK2Ft?= =?utf-8?B?aEdHeURTNW9WUTJhb3VGeHBibEdueGozQWQzS05CM2ZYakJTK2lqbFdFbjVu?= =?utf-8?B?a0lkbXZ5WFQwY05hVkdWVWdQMVJMZFo5NEJ1aC92UVNkMmxHRGRQcHBzdTlz?= =?utf-8?B?bStPcS90SEE5bDhudG51d3k5RHJOVEtrMXRTSEE1WGRSOFo1OXF6emJpTUhi?= =?utf-8?B?ZEplc1M3Z01GWGZVcFVQcGlrcTQ2Z3I4dktCbitMMmdZT29Hb3d6NkEyV0F2?= =?utf-8?B?T3ZNd2ZDTU9URUVxb1g2ODFUK2xXUmVqVVJZbTJlSDU0bjFXMDhJalhob0pO?= =?utf-8?B?d3JGMGZXazRWbDMzV1praE5UUWFKYkYweS9PZGEzdzVoVmdkeEhiRXBmeEZB?= =?utf-8?B?b3VpUlJ5akVDQUdqaWpseklZVDlab0NiZjZRMEJ5QlJ6MlcyTVNGRDBaK3BJ?= =?utf-8?B?c3hXZnczNm9TSmpweHZqNE8xMUlJcXRJdGVFSWJHSzR1Zy9ERTJv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JROHlDY2pka3NsMDdG?= =?utf-8?B?SDNBL3RtMnEwSHVQOVRZTWJkOGRneUpvQkc5SzFsMmVCQjdpUTBGYWtIWTFZ?= =?utf-8?B?L3NJd3BiaitkRTlxYkh2b0gxYktjRDJ1UzlTRE1HVWpTZWhza1pxOE9LbVRt?= =?utf-8?B?b0szSzUvSE9BdGV0SEhqcS9RYVdrSnBxbWo4dDRqVTAydGdhNjBUeDFKeXZN?= =?utf-8?B?Zk1oaytjeDZYbUlYNTljRVRJNzJRQjB5R0o0dkNJYnRrTnZhQVNkdElmTnQ2?= =?utf-8?B?U3dNTzROL1U4Sm9ZNHpraG1QN3l2c2NoTHgvY3JQYkRKTWNPQjQwUXo2b2Vk?= =?utf-8?Q?hNxJAc=3D?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: a98943ef-f8bd-4dda-f13d-08dbc4ba5222 X-MS-Exchange-CrossTenant-AuthSource: DM6PR10MB4313.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Oct 2023 09:14:32.6033 (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: gTBH0WBY2VQ0xJaMYqXLL0EkGtUvPHfgBxrPgGziZlr6XeebnfN4snQwcbFH9fAiYYSUw1JcJPuxscWD6XbXQQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN4PR10MB5797 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-04_01,2023-10-02_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 malwarescore=0 adultscore=0 suspectscore=0 mlxlogscore=999 bulkscore=0 mlxscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2310040065 X-Proofpoint-GUID: Gff2rOV59fKG7d85dtL_zFQrYnO6c6jW X-Proofpoint-ORIG-GUID: Gff2rOV59fKG7d85dtL_zFQrYnO6c6jW X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS 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]); Wed, 04 Oct 2023 02:15:43 -0700 (PDT) On 03/10/2023 17:45, Bart Van Assche wrote: > On 10/3/23 01:37, John Garry wrote: >> I don't think that is_power_of_2(write length) is specific to XFS. > > I think this is specific to XFS. Can you show me the F2FS code that > restricts the length of an atomic write to a power of two? I haven't > found it. The only power-of-two check that I found in F2FS is the > following (maybe I overlooked something): > > $ git grep -nH is_power fs/f2fs > fs/f2fs/super.c:3914:    if (!is_power_of_2(zone_sectors)) { Any usecases which we know of requires a power-of-2 block size. Do you know of a requirement for other sizes? Or are you concerned that it is unnecessarily restrictive? We have to deal with HW features like atomic write boundary and FS restrictions like extent and stripe alignment transparent, which are almost always powers-of-2, so naturally we would want to work with powers-of-2 for atomic write sizes. The power-of-2 stuff could be dropped if that is what people want. However we still want to provide a set of rules to the user to make those HW and FS features mentioned transparent to the user. Thanks, John