Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1252198rdb; Mon, 2 Oct 2023 04:15:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG4SUF+vxB1dMAeV1Tcfyao/f1YSsTX5uAB/EGlaqg12MSj/ubWxDGy8608M/CDmb7mt9gD X-Received: by 2002:a05:6870:ec8b:b0:1d0:f5bd:6cc with SMTP id eo11-20020a056870ec8b00b001d0f5bd06ccmr14152758oab.11.1696245329453; Mon, 02 Oct 2023 04:15:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1696245329; cv=pass; d=google.com; s=arc-20160816; b=KzJhLoPjbOrMRNOpSClB06+xwLvv5TGGa6sJxSBYh5VTkSSWa/XqtB5LPfDUmGsP93 k09eH40yJZXvDChVrXjEQUvVf9HrD8tHxab8DsWne/LXLDXxgxr/Qu4S2N8t9twFrGYl D6IMIViNsLAeDAOJZDBZUO8bKlUapIv19z5bRjculySZbjxQ5FXSB5TPvwphiAN9pXqU IHfQw+lDe7qSeKesXP/dfB/YLTGy9xnXpEhFvwDpJXbIL8GQX9mFOHSu2TZFSwWCySjV qKJFlU/Qg6+R2qB8qhWbEfS5mKnRSa8xiF0ScjoQci3tz8n0DvlCC8v4CF0X6j3owfA7 ouOA== 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=6umPiMACbWstwB0R3nxuB9n5O3TqnVVUkqaOzxmeX1s=; fh=YXPxFErXMmGc+Um5X8Apr4R/x/aOv+yJMglmxsK+C/4=; b=q/L+xfev9E75qivqiITMiAyL0RGO+SPPuldmZYD+MgzjaEVeodCQ1AjLJD8CDLaSDJ jKzCreJxpmq2bRkg9O6vs9wgkSw1Lcw8TkYHVuvJVV2ojE23JXTBO4Wjlpgxa/9RkDtj MEwm2Pq3aEZmWf1Ksqkp9k61nDre7wTAmML5KnOmJohiET6od7Sb5M6E+1mzSzt17UiP PhVVw3blOY/alx+0eH50GMyLeAk8naBTzkE+kyzabK0Vhh0B92aGKWog7/3dZs1h8O6m YRZn6FIWsGb5L+LL1IYi1z+Zb2zCA0QmOzuGKPzO3nliQ43+LiWtrTl6zwPUfpgG1Dr4 BQBQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=UecrV1l3; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=XwhYgPpL; 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 bg26-20020a056a02011a00b00578b9fb24f1si8721281pgb.634.2023.10.02.04.15.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 04:15:29 -0700 (PDT) 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-03-30 header.b=UecrV1l3; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=XwhYgPpL; 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 8818F80DF24A; Mon, 2 Oct 2023 02:52:22 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236246AbjJBJwO (ORCPT + 99 others); Mon, 2 Oct 2023 05:52:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231174AbjJBJwL (ORCPT ); Mon, 2 Oct 2023 05:52:11 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B284983; Mon, 2 Oct 2023 02:52:08 -0700 (PDT) Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3928XSHf006444; Mon, 2 Oct 2023 09:51:45 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=6umPiMACbWstwB0R3nxuB9n5O3TqnVVUkqaOzxmeX1s=; b=UecrV1l3QCw9HKEToQUIHm0kvj43Ovtj/JkRVn7a7PYpwp6nl+kcE96p/G+tlx9Wc7Fz QA2YMEDizvl4BJm5EQxwotsbOANbpql2lRDZk71h0MuqATwbqysDe3RaXok6bgOD4lLB Y8cbTbktYnDV6eqTB8KUezMvMrjAfKLpx9X4L+S0zBY5xuq5M09/0ok50CL0dL/Yz2mr 954BsUyJ4+DGBLcsZnb9K41llAyZvui9Ov2ALQlU36bFu1soz1mqBI+ZwLoQYsa3GFVv dTauCeB/Hjyu8BxAlamT+ZTUfnjHyxiYSMC8SJ537cKh7Gzyh+P5AjHdgv7zeSeedEv2 Sw== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3tebqdt5he-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 02 Oct 2023 09:51:45 +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 3929XZIL032873; Mon, 2 Oct 2023 09:51:44 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2103.outbound.protection.outlook.com [104.47.58.103]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3tea44bh13-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 02 Oct 2023 09:51:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NQa7Ji7E5QehjKLgo5KFWlOWswvDbmIHzV9TIhIya/zqIMjRJz7uvdguUI5DdkIiZ7rgPIAE50N++0DumogiXa7CDgFnM0NWtiQ3fLsodNy/H2xBpL6u7NX/N1VgSSe3sxfceaq9/EW0SKOVG3xlksgA088qoXD+KHnqPkcYjnpSmRIgSOYurywvLAh9WIR/6Q9vmiiK6DWXDyfYLK9/FqNJNRaEhZYlG/AJiG1mPBicTfR1xc3c9KTO3xdCS4go2i3fR/kH0tn7Rrged2FOENfcZSCKmMQJhewZ39k4KW076HFJmwAQdoxj8botjm8ChxLcrX9Kp23pWvGI7AVSzA== 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=6umPiMACbWstwB0R3nxuB9n5O3TqnVVUkqaOzxmeX1s=; b=gIOeDxKK1EDnYd+u6Gq10IDWkbSWWOLrK9teIQkPuHs5a5hSE6ALbzK8jvPtqTJODAZbzAGeIn4ZtrMEvoxoUkcVoz9nmcgnOnT49bF6OyGmOETR0y+C/k6RkWOKeu0qb5+sASQ11BizTMtlTfWEEoLKuzssffF6yZjS816Pk2g0KRtGkR1bSsx57+dLU5TiHukGLgJeip6l/UqkgU+2odlEOr/Y1zeYDlDWhVtY87YiSokCcXHsxzhCSS8hFxVrdmug1Eo76JdYh/EdIMGLXMLMaWIAd615IdRUjVfQMCffXgZufqH6N6zne9BBdLtta5XP8JVh/ffofDxKkYxcDQ== 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=6umPiMACbWstwB0R3nxuB9n5O3TqnVVUkqaOzxmeX1s=; b=XwhYgPpLGu7BV7UvReJCzeZSIQnURguaU1f+ctlimddTlUP30wmNKweY3ZVzBJo75ZLpaZpyQACPlhav6YsXfjq5Mgrskg9I70/IWwa92aH7rAB0wEkZZjCt0JWKvFncYpQcdCX3kwFvAYGnAcFC284Og10YZ8N+dRYdlSeeZq8= Received: from DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) by IA1PR10MB6855.namprd10.prod.outlook.com (2603:10b6:208:424::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.22; Mon, 2 Oct 2023 09:51:42 +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.030; Mon, 2 Oct 2023 09:51:42 +0000 Message-ID: Date: Mon, 2 Oct 2023 10:51:36 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH 03/21] fs/bdev: Add atomic write support info to statx Content-Language: en-US To: Bart Van Assche , Eric Biggers Cc: 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, 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, Prasad Singamsetty References: <20230929102726.2985188-1-john.g.garry@oracle.com> <20230929102726.2985188-4-john.g.garry@oracle.com> <20230929224922.GB11839@google.com> From: John Garry Organization: Oracle Corporation In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: AS4P195CA0047.EURP195.PROD.OUTLOOK.COM (2603:10a6:20b:65a::24) To DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR10MB4313:EE_|IA1PR10MB6855:EE_ X-MS-Office365-Filtering-Correlation-Id: 7cc33479-68a5-49f3-ccaf-08dbc32d2e6e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: scAtgw77mEOv/IEPfNFh/YVMrinCyzXh6k/Rxr38ZwvYhEd81hLILSES4w92YJ2tIvX67Y5ul7m8h4/DahulNle6YIK1JXZTYRNV2kfhLf1IaJg0b+xV26SMb0m/f86o2g13PxSOiQql4EpPBw1CVShAesZOrYaX32WkKx2bUSAigmzVi5I9S1cZFcq2RFcOmwajuy1NFR//qufdly5sEF6btJebD0fefIQWd4rPrMnSMZ+d/tiyD0ZKnhwQ4c2q+/etouINFR9P3kTi4AfqOvaHNijCqeOdVaIjP+kCFwzzq6i/WJYCy7yCe49orQ9mrzFvkx1rpA/K2teNydhQvE4OygWWXAibfpbyw4g00TYf0R7ZTbcQNA/UiSXogMyOMuClvx7ZhJA5UgmDSLKziHKkNMsyJWeKFGuW/A8BgKDP9op7yWT4Iyj9ikf2TgLyjbPrsJ4t8XGITg0pipLrXjBmK6d+s2v+fwW9QyaCjogjRDT1QZGwzvNhSiaOdNK3AOPJp4g8BymYwQ6C7QhI+BlBuAGMsndHKpcTBxLouNldvvSdQCJ+Q0UNTger+G7KDd6COJmj7beZJwEr1xbAmKa/7v2ApSFBPMmi7/jQADkuGG0HMbn+yj3pE721TFyyKZgyzf89VJozAsHvLT9GIg== 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)(376002)(396003)(136003)(366004)(39860400002)(230922051799003)(451199024)(64100799003)(1800799009)(186009)(31686004)(66946007)(66476007)(41300700001)(5660300002)(66556008)(7416002)(8676002)(4326008)(8936002)(316002)(110136005)(2616005)(83380400001)(38100700002)(2906002)(478600001)(6486002)(107886003)(6506007)(6512007)(53546011)(31696002)(86362001)(36916002)(6666004)(26005)(36756003)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?dVluRG1WclJyMFpKc0VTZ2kySHBZVk4zcnVpUDQrWDdCeGVjVHhuR3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weFNWTlNBd25mdXdQU0xzOWtWWVdPTGtSZkc1WFlMUkI4?= =?utf-8?B?Q2ZUelZIQ0tPSHRWSzYvNGZrdHlDODdraVYycEhUaEhHZVltQnp0T1h1bGEr?= =?utf-8?Q?VP/KFA=3D?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7cc33479-68a5-49f3-ccaf-08dbc32d2e6e X-MS-Exchange-CrossTenant-AuthSource: DM6PR10MB4313.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Oct 2023 09:51:42.5804 (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: F9yLnI5HdSQ1Q+X5rp5aMBSm0/dHLgYWGnYegHETYerQdxK0y1RTcSxMKj+rgboMQuJDPZkhPIlrpjstGhHrEA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR10MB6855 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-02_03,2023-09-28_03,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-2310020072 X-Proofpoint-GUID: gobsr6150qKNK-asCfwGgfnMvqbRxr0f X-Proofpoint-ORIG-GUID: gobsr6150qKNK-asCfwGgfnMvqbRxr0f X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_NONE 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, 02 Oct 2023 02:52:22 -0700 (PDT) On 01/10/2023 14:23, Bart Van Assche wrote: > On 9/29/23 15:49, Eric Biggers wrote: >> On Fri, Sep 29, 2023 at 10:27:08AM +0000, John Garry wrote: >>> diff --git a/include/uapi/linux/stat.h b/include/uapi/linux/stat.h >>> index 7cab2c65d3d7..c99d7cac2aa6 100644 >>> --- a/include/uapi/linux/stat.h >>> +++ b/include/uapi/linux/stat.h >>> @@ -127,7 +127,10 @@ struct statx { >>>       __u32    stx_dio_mem_align;    /* Memory buffer alignment for >>> direct I/O */ >>>       __u32    stx_dio_offset_align;    /* File offset alignment for >>> direct I/O */ >>>       /* 0xa0 */ >>> -    __u64    __spare3[12];    /* Spare space for future expansion */ >>> +    __u32    stx_atomic_write_unit_max; >>> +    __u32    stx_atomic_write_unit_min; >> >> Maybe min first and then max?  That seems a bit more natural, and a >> lot of the >> code you've written handle them in that order. ok, I think it's fine to reorder >> >>> +#define STATX_ATTR_WRITE_ATOMIC        0x00400000 /* File supports >>> atomic write operations */ >> >> How would this differ from stx_atomic_write_unit_min != 0? Yeah, I suppose that we can just not set this for the case of stx_atomic_write_unit_min == 0. > > Is it even possible that stx_atomic_write_unit_min == 0? My understanding > is that all Linux filesystems rely on the assumption that writing a single > logical block either succeeds or does not happen, even if a power failure > occurs between writing and reading a logical block. > Maybe they do rely on this, but is it particularly interesting? BTW, I would not like to provide assurances that every storage media produced writes logical blocks atomically. Thanks, John