Message ID | 20230929102726.2985188-1-john.g.garry@oracle.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-block-owner@vger.kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 90D2EE81815 for <linux-block@archiver.kernel.org>; Fri, 29 Sep 2023 10:28:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233041AbjI2K22 (ORCPT <rfc822;linux-block@archiver.kernel.org>); Fri, 29 Sep 2023 06:28:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232977AbjI2K20 (ORCPT <rfc822;linux-block@vger.kernel.org>); Fri, 29 Sep 2023 06:28:26 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C833199; Fri, 29 Sep 2023 03:28:24 -0700 (PDT) Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38SK9uNm020162; Fri, 29 Sep 2023 10:28:00 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : content-transfer-encoding : content-type : mime-version; s=corp-2023-03-30; bh=MvSxqf/ZWXX9uNSbYME7f9XmH7IkE6B3FCSobMwR3Is=; b=yvl7uTP4rqYVK9j7aSHHxAx1oZP7Hng8eky8VsMh+R/Iqp8sfoXqBBVc88pPPi3z4MCl Vqztjvdtp++7oPNIirqi2ksz6ON0uRCPdOY2+lZUaDssuiJy2lERsm3AqqTmAnvCrnv+ BXEWSlN24Hu1x2jnHgubnNweagjXI7gf5TmT+ttjSzr3au4A3UFG+1ECFlh5ClFwHxyd Erf2sS/yO8uJyEetLUUoPLspcpNuBLARDNLdlfFCpDa/XpkNlwTqNWn+LdChxxee5e01 q4/PMuCZdcD7TQfY2i89Ic0Koqqa1cdyNZGuPi/jHrsccunUoGtsgYM+ZxaXCKYXqAsE Dg== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3t9peee9v3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Sep 2023 10:27:59 +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 38TALEKF025319; Fri, 29 Sep 2023 10:27:59 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2172.outbound.protection.outlook.com [104.47.57.172]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3t9pfh34kq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Sep 2023 10:27:59 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m5TO8sXLpj5ApJzeKMS7+ME2Q9fxoXHlZlmb2rC/79zlM4YbS8y4flsPsfGeoxsP0hVD0rL8h2gpDoIYfThMMluzZHUA2PpqQ4n6sT3DdCdmxAS+o3sz5MbnUfwWAX/7/5RGkAO1eTvH3brkmRmQFQCKUhq/lXqqD4DnX+JHzflLBynprNyod+70AVMJez0NVoJHN7K+mVQVOv50GHM8mI9r3CXoOsXiNxhYFQ9xSHnTk79ODMQSya2/H1I9wToJFqEwCJ/U/y8zPIks/f52RKnH9tb4G9kVatmIq5QmTWCYj0P1dYCetpN0JuUUrwCv020dUn/Y+hboqyBSID2EiA== 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=MvSxqf/ZWXX9uNSbYME7f9XmH7IkE6B3FCSobMwR3Is=; b=AxxCpdqfyZ8zW7nnaOqmFPEcuqMGmJ0RfhfFrZOGUVlwIeqfV5EpbNL9C+fcPTq2DjLZ0fNUJeWp7uZvy+LegroH/RA/dz4qxuZJcxApwhBZA97gBftWjYn4yhgPaazTqqbgpWEg+E2WaWA59KKj0U0WCE0WeMhd1c5qEaAgQW1t0Awcpi2A/0nkb3leKuzocc/bNqPc0dgE8czRhgNViBCAYzQmSlLAo1f5CV1Ohh6OMtIgMsZBWAMP8FnEE3P4E4gxUXdJ5PczCCZ7LY4z/aIBOGp6GBuskwLVsFvwQNlHR3SNM1vVFYmuljA3xzoSHNERe7HL5izlEAIfB9JrPA== 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=MvSxqf/ZWXX9uNSbYME7f9XmH7IkE6B3FCSobMwR3Is=; b=rk9oQq4+Jd4Yfqpa9BmVTjwX8CCVlaVEzT5+xerrrHAY4WkenW+4JxVNFGhG9cHWXHhNmAtTrlZGtp0IBxw0sIh7/ymeqQYwfNIQU1PxYN8uKL09EUutTxqcLbHE6hVab5pbdm03JjEYXHmDR7NSOqgDbMzLpeByzBfSNJg/qhw= Received: from DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) by PH7PR10MB6153.namprd10.prod.outlook.com (2603:10b6:510:1f7::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.28; Fri, 29 Sep 2023 10:27:54 +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.6813.027; Fri, 29 Sep 2023 10:27:54 +0000 From: John Garry <john.g.garry@oracle.com> To: 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, John Garry <john.g.garry@oracle.com> Subject: [PATCH 00/21] block atomic writes Date: Fri, 29 Sep 2023 10:27:05 +0000 Message-Id: <20230929102726.2985188-1-john.g.garry@oracle.com> X-Mailer: git-send-email 2.31.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: PH0PR07CA0008.namprd07.prod.outlook.com (2603:10b6:510:5::13) To DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR10MB4313:EE_|PH7PR10MB6153:EE_ X-MS-Office365-Filtering-Correlation-Id: 1d3bd318-6e5d-4ace-2161-08dbc0d6bdfc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 78c1gv81WMoLDMraEaWRPTkJS9HLYkpYkeisDOZsy2XgcXX2mpb3DFLiszvRnf0dioASLhr31t+z2iMp5Aum0e1rO87r3KSIIcKwDDcfMmFHI7kNAljnY3h9THgfQdYbb8t3atbowplYI58hW8bTnaUxCH/IQK30DsCDtx00kT8NgEsbc8XmW/oJ8/WWznULjJbp5Lhd6W3Q5M5kQkxq1JA4CR138HJKeBf1wN8SXqFQdYx37hnMaYIWya7VI9WXkBd+VxGhKHCViLJ1iiE/3yHpr+JAvzKCq+CNKcfQTSrq9Be/DfHsJsZmVN9w2o+YlvBD+HoM/JPbRXCBGU35BpqhFykpT7qPx4YW/N0su1B4hh72LTcADL7kld6a3txhVmzzIhFR+K0Ov53jrYWU4WSoW7mp+DHTgwwmJMZEYp20pall8slzGAWBTvkyTvhd21YqemsSrTIs53DhEVOk0/F3rqoflCoL6tgcJJLMf8KrNpYNpbgaswvV754IrFbiKLCaeZ9uyTC/qqhjVMAZVC5Lbzj6fHp3FLCEbyBwapmT2hfEbBZPx4hNEpdMp21A/npkJzR35L1avKVsgzfx7G7N0o96uq7pys6v1CpDlh17rQWRVmG30sekoVoOR4jk 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)(366004)(230922051799003)(186009)(1800799009)(451199024)(6506007)(6512007)(921005)(107886003)(1076003)(26005)(2616005)(8936002)(4326008)(36756003)(103116003)(66556008)(7416002)(2906002)(5660300002)(66946007)(86362001)(8676002)(66476007)(6666004)(38100700002)(508600001)(966005)(6486002)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: gtaj9dt147PtBbuSB/9ON4HoAoexnTrtEeoU78hyEnkaw0JSIX9jl7xUb7rMm+OYN+Y42DKjJG183aaHXAGhowypvlGhqrefpg0ezreA7aiCzYF03+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vR6OUL563mD8Nf+1yRpTInTgMmiOSN9rP+zC5ZDNF02k/3mTDLnjz1+6+dU0lb67iQurD+nFctQuhMYDCvKvyD+/mn38XzrRemK5mkuPUglqHjoLJDjaoIkWRkFJ6IYye/jxXZumwGpIz9NtiGHM48O3EWYo4OcGEYrMg7SJ/D9qBx9bQDgEYSnr2m0AUnYMa9Ocj2uIu2O7zQjlcRAmao9o0UegcezdbT+bqbJhKo7Nxy6AFt8O3UX9Tgj9g5MtfIIVnA3Lz2ShnHwvPxbKg3YyNaA+E25kgNXfOJG0fM6qDDNZiqtElCnlbGOE0AXxMNMwhFDQB8FDCJqYh/UZeX1w5vf1tlY9woq0+cT9NdrhjEJziTEwCXa6VO8QmOlZ75cnJ8EJHVXPVvWSW6vIAY3gUk6NL3AAp2TSaDtB4x6LFjDiGqudOYDuJ/pLcLaNZAcvRaU37SqiKujc3F6A3V0FGSMNiBpIZc+oqfY52gVgctgxax0TNfQFWK6t4SSoKNteOlJU4hDPaeqDWAydS8rwPckTZ7Mm4nrZ25tIXVhQ== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1d3bd318-6e5d-4ace-2161-08dbc0d6bdfc X-MS-Exchange-CrossTenant-AuthSource: DM6PR10MB4313.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Sep 2023 10:27:54.7411 (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: 3NVZmVKeIcHqkxtgItpOsiAkzWWLNat/Ugo/fdI86ONE++6j0XNuf9bs2GFdL0CE1jcp5SFr7ew0ihUnchGSmw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR10MB6153 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-09-29_08,2023-09-28_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 phishscore=0 mlxscore=0 spamscore=0 mlxlogscore=988 bulkscore=0 suspectscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2309290089 X-Proofpoint-ORIG-GUID: _whshzc6WUE2jm-q-x5KLsZNyoUB3HnT X-Proofpoint-GUID: _whshzc6WUE2jm-q-x5KLsZNyoUB3HnT Precedence: bulk List-ID: <linux-block.vger.kernel.org> X-Mailing-List: linux-block@vger.kernel.org |
Series |
block atomic writes
|
expand
|
On 9/29/23 03:27, John Garry wrote: > The atomic writes feature requires dedicated HW support, like > SCSI WRITE_ATOMIC_16 command. This is not correct. Log-structured filesystems can implement atomic writes without support for atomic writes in the block device(s) used by the filesystem. See also the F2FS_IOC_*_ATOMIC_WRITE ioctls. This being said, I hope that atomic write support will be added in the block layer and also that a single interface will be supported by all filesystems. Thanks, Bart.