Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp125049rdb; Thu, 21 Dec 2023 04:56:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IG/0ebZEEI5mgRSTCNvkiXgpY2751Cap+31uQzUVk/9GWOx2sPDxAKbprP3LLDBn3Ll78g3 X-Received: by 2002:a05:6870:a989:b0:204:173f:2623 with SMTP id ep9-20020a056870a98900b00204173f2623mr1495290oab.48.1703163388767; Thu, 21 Dec 2023 04:56:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1703163388; cv=pass; d=google.com; s=arc-20160816; b=CtNmFFwZdqNyu95T0wPxgNI1AtYLcYG4YDexzus041mxntGhSbKmEdaQNGjAkmU48/ BPhIoB9JvzU/Q8H+xktAl8DHTzSxPR6ry5ulkSj3tdb50qbgiJqbQbGN42+XWGBzfelT 8iE3zykhwHLaW8anEo5kvb+StXlyIn1t3kr38jsMNsM1qNz2LYOICIleBgkY5pZ9xJFa vzGuQHIbEm6F9gQ3bvt3e41zWzm9nF0JroqVZgG8Z4ez2lAaVrNhFHOmoe2IT/WEsThB LS5x1fR/E6UFjzWPOMPTBLRPeWMy6WnWkx0Ou3pcNCTrAcL6FaR9S5cgU8EVjbfTrN/l cW/g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:in-reply-to:organization:from :content-language:references:cc:to:subject:user-agent:date :message-id:dkim-signature:dkim-signature; bh=Q2HrQhraHladxfQQC27eYXhOkGDnNzcc1ATRC10iDSk=; fh=F2AibOSczCMrz3nxbJb1d45urHe9YPsOWoRkXNXLIfI=; b=KluHLTvgxoyUwTDq7DvCpogsp4dIXWo8B8tyot7b357Q6bpezbljX/5rvTeplbSQVj Lb/W6pvbCwcPiIMKQ6QiNyqWZbHLF6xZz/w428HC2Q8lcqCkT3xopZmfRjYqxSSFhq8h Iwh8m1m0sECDQS1TysqHA9PWMMnlD/TXSI8n1A9iayqx3VeNYGZnXHwAo5RfHFZzZynL OJkQUd/Sf6Kn0pI+IRfQQFlqEQnNFMaAcJmzfU7cjVnTucjBX1HeVjypFZ3IBFMfvg8Q AtnMoeWkbI4twqbZB8alxenp34p1OvCNNb5z0uJik/+KprHN3G2nOLO3FX0HVoIJ1Lj6 tWtw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b="mjFV/jM5"; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=jfVq7Pi3; 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+bounces-8397-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8397-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id x4-20020a63db44000000b005c1b316d768si1523051pgi.664.2023.12.21.04.56.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 04:56:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8397-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b="mjFV/jM5"; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=jfVq7Pi3; 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+bounces-8397-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8397-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 675672842F8 for ; Thu, 21 Dec 2023 12:56:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 91D787D8B6; Thu, 21 Dec 2023 12:49:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="mjFV/jM5"; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b="jfVq7Pi3" X-Original-To: linux-kernel@vger.kernel.org Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C496B7BF1D; Thu, 21 Dec 2023 12:48:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oracle.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oracle.com 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 3BLCiABt026701; Thu, 21 Dec 2023 12:48:33 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=Q2HrQhraHladxfQQC27eYXhOkGDnNzcc1ATRC10iDSk=; b=mjFV/jM5PRrWS3rlkSFheDLGY+3thNsSb4RqIbRPt4XKqyyE6ntZkHhLOi7DWFhDPaZe QndbUeBQBn78UulgspDBrLxcJw8xGvZLsJnytdbCGGOn0tm46e2y9GMbSb86LHtqwSNk 42/dQgezglHkKX18JJORBmvccDROHSjf6xO6rzsTZuN1UVlX+lC35h++O9PjvpzKzAUm xA3oOewpvTbdYLCmkpsVC3aLLNOQiLmkMWTty4lMvzdAd81TD7UblFZ7bqPcUHW1v1AN N/MLvTE94TMubX503RQjdf7g4GqqqqErRBVai3YVwZYD4yHMcLXTowQDiFHLYgfJ6boC Bw== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3v12p4au7b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 21 Dec 2023 12:48:33 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 3BLCJ4Lr024079; Thu, 21 Dec 2023 12:48:32 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2168.outbound.protection.outlook.com [104.47.59.168]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3v12bb1bkp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 21 Dec 2023 12:48:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j99YKb39XPX/N6ThRIaeRwg4lEWlAsHE0pnj7R/ongxuBXDgvzOoNDleSEYGx6SNhQeIqG4sozxQDPXEM3nglhltuDCyi+sCM2XR/TSnn4gQG5vQcOtQ2qdB7rwql6rlrLEMEigLPa3R5ZaJ9hIwVmuO6z3NhPBr09+U6tY7YIOhx0LzGe7C6UwrmFZsscywPze0NPIHP5AlPRIf5r0uXT++Mua7E0fgzKI5m9CPl77RI/K0nAw1Flsn8jmznzv7iCwT/vTJt3laD0VJ12dymh1JLMiyfj+P5vwePepqssxns5deKQEIezkaVfB89IDJ+QV0l7slugvuKfUa57b5hA== 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=Q2HrQhraHladxfQQC27eYXhOkGDnNzcc1ATRC10iDSk=; b=YOZzuLSlALq9fZiyBhjESr796NFgrFtw1vwBumf6tQGfvppf13Od6s5vqRhw7XHiPGyp7kFAUZKnYTNSlZnMxCp2YeknJbi/EC6KnTmLfNRnpm07jaa6KsLSwSipEiDGSYTFYRQwXyzZutniklVg/lUbxAlaKLxJezmHnuy/Sd0QJ1u/Ge3QUjjiPMiujLFLROm4u8bya2bxXLFcD48NR/sDJzdCht0D3/DZb/UbrU/VsnzNOisF3W74B5zYqWvpgkOl3rW8QVeHKc1mDA0kP2kUUD3HsX2P7vu12dLqNtEnTFGyLx938rV/EN8wx9Au/aGcOHr/kl/1/bfjMRfsQQ== 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=Q2HrQhraHladxfQQC27eYXhOkGDnNzcc1ATRC10iDSk=; b=jfVq7Pi3P9Xj0dQYoVzKckBkOLc9Ik472ze1MLiOIW31GoqTfAozOWGI1zT41RyZg/3hgFACoO7+RoYmq5Wws4Jo0hZ03+HHB+vOEgN/OUnAk1RS9MOdbLmttmleBmi82JhLcuPmlywXJd58AfdCFdv5GZVnLZ5aPqa078Lgesg= Received: from DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) by DS7PR10MB5118.namprd10.prod.outlook.com (2603:10b6:5:3b0::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7113.21; Thu, 21 Dec 2023 12:48:29 +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.7113.019; Thu, 21 Dec 2023 12:48:29 +0000 Message-ID: Date: Thu, 21 Dec 2023 12:48:24 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 00/16] block atomic writes To: Christoph Hellwig Cc: "Darrick J. Wong" , axboe@kernel.dk, kbusch@kernel.org, sagi@grimberg.me, jejb@linux.ibm.com, martin.petersen@oracle.com, viro@zeniv.linux.org.uk, brauner@kernel.org, dchinner@redhat.com, jack@suse.cz, 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-scsi@vger.kernel.org, ming.lei@redhat.com, jaswin@linux.ibm.com, bvanassche@acm.org References: <20231213154409.GA7724@lst.de> <20231219051456.GB3964019@frogsfrogsfrogs> <20231219052121.GA338@lst.de> <76c85021-dd9e-49e3-80e3-25a17c7ca455@oracle.com> <20231219151759.GA4468@lst.de> <20231221065031.GA25778@lst.de> <20231221121925.GB17956@lst.de> Content-Language: en-US From: John Garry Organization: Oracle Corporation In-Reply-To: <20231221121925.GB17956@lst.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0369.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18e::14) To DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR10MB4313:EE_|DS7PR10MB5118:EE_ X-MS-Office365-Filtering-Correlation-Id: 63165ebf-a978-4b09-1f9f-08dc022321c2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KaF7ZhzKdyYl1ldrwzi+ECYu6lNy9V+Irgp/uzr97YRHNCws5cgZ6fBrzVdjH++WgDSkgmpo6R0bimDfNCi/DlxpYyEIqKjqdw94cbxHHAxagETJxypR5/Uo5aErYMCLL5oh3UgVKu5Rldiyp5aU83TV40ozJN01V/BUU2UNWZZRJeWUbR3rH3ovph9BlQG7scMA0w0Q65M4v2pOpk5LEq0ZMPFBJMkFAuNIzt/mkOIyd4QXke+xEyLw5465EKZ/dQjILYJp2/veuRrCqZPXXtW2vnw/xJiMapVMxEzodYWvLAWAcHfVTRwhCGCACVXpqyr7Qnpb0w22+SmtyhNWFXqXPZRPNthzBgvi5ZCIRwdX4Fp+FSAlJsooRIk+iaLL+z6Kcj6zfreqkYCSGyai7hZa+BNdG0QN7Y3MffUPeoaBLz1DiuSp2+NF3ZT5aOBGpFZaxMrMPKZDUxolhmJu+l4bCz0oO02T9q8tUt+sLWrsJFu2nAapdRJi9Of7YyU+7CiyXyaLphMVi9muSlim1JNRR1dyur/+qu2H6R4IAR4sriHhIPl+vFbdMnoQUc3D5HckQY7HDyZypmPUmK5oqhPUaqjB6AiUkzJ0HMaB1AmPGpB19yXaXcUVxRNJF0TBQ1VhE1Rhkq31krH2Tg3ETg== 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)(136003)(39860400002)(396003)(376002)(366004)(230922051799003)(186009)(64100799003)(451199024)(1800799012)(36756003)(86362001)(31696002)(31686004)(478600001)(36916002)(6512007)(6666004)(6506007)(53546011)(6486002)(41300700001)(2616005)(83380400001)(38100700002)(26005)(2906002)(316002)(7416002)(8936002)(66556008)(8676002)(66946007)(5660300002)(4326008)(66476007)(6916009)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?STc4UFo5a25tSi90b2Z6K3h6bmowMWpQRko1WlRYNU9IRnFUay9BZEx5cWd0?= =?utf-8?B?TWxKT0YrSEQ4SGVhY0JONy9mL2FNRnVBSTRzQXlsTzUrbGJlVUt2b2tvRkg1?= =?utf-8?B?UjRLeDlURXk0cEU4VXliUFlqc0NVdFgzcHp0NVpsMlB0cStYaXQ3V0pXaC8x?= =?utf-8?B?RHpibllBUkJMSmhsemVaK292VUNCcEhwMGNWZjJrOVZ0N2hlTmNJSzNuOGJi?= =?utf-8?B?WE5MNk54aFJibGZsNHBkUVZUQVlySUJCRlgrOWdjeVB1MjJvTHA5dndSdnE3?= =?utf-8?B?d2M1S3JQZnVhUWtyNHZPcmtZTkh3VWhsS245TDRESHB5UWtFREZQdUN2Tksr?= =?utf-8?B?VXFNc3d1NmNkbGF6aDZBNmlUdzlzSkhYc1RuK2YrUGNZbHVmWDZuSjdwKzdF?= =?utf-8?B?LzJOek9rK1VBb1EvWkFtUk51OXNES0xnT0tXY0xDUXFFa2RGa3ZLM1Z5cmRW?= =?utf-8?B?N1c2Z0szL1B1bHQ3cDVKZGpXT2N4Zyt6cDhRUFhYbUtGeVplcVZzZ0RsdEZ1?= =?utf-8?B?SGgrVnpWMDFOc2xVV2lVUFY4NzhpaitEaHdrbHk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enBG792oMWneRaaWLl6lBMGLrzA3bZYwu3QMzt7QDGPE6KZXptTCy8BktpU1LsTvfmldqmoNZxWDC3SIMSaD7ZHbQmGVaqmGFFQc2cHhfPi5gC7LUUZbUPh+Gt2Uufu+Pi3boFRFxVZrPbANZwS4rhowg2PGgU2nRZ3JvH6/YWg3kIjXAoFS8d84tTbsLjiOND7aYNpnLsEeQgN1I+E1n3wA3q5Dc07PmcvPXL19sSeD8GiCkybLdlQDWevaBIpV5KGz6GAsbE+jVYTuKoX+jn9yzSiBz9d0KFMe4txeykuWBhVejK1eKH1TtDeJGMgs2P9qExgil9Zxpe1mr7Yh715/cMkf5yIlTo4qE/CV+ZPKcMKNEcHRgwCKIruY7aek6o14daViFp/0OWoo0dvTKafAh7ViU273TTU/8ftJahISLzkcsNTq3XmXq1vou+PezD7flPdfLvorOIXU/lubQKm8Imo= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 63165ebf-a978-4b09-1f9f-08dc022321c2 X-MS-Exchange-CrossTenant-AuthSource: DM6PR10MB4313.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Dec 2023 12:48:29.5537 (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: b9Zay5+ozKvALC3l3QghnO5cCiwQPa56xI9+HxfaqFpRWcllG6rpOBkfiYQhwt9O6iJm0fU3MDGHz31/pefkrQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR10MB5118 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-21_06,2023-12-20_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 malwarescore=0 spamscore=0 mlxlogscore=999 adultscore=0 suspectscore=0 mlxscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2312210096 X-Proofpoint-GUID: dxWLMmXZopIPPW13UE3G1RSgrlF6ukAO X-Proofpoint-ORIG-GUID: dxWLMmXZopIPPW13UE3G1RSgrlF6ukAO On 21/12/2023 12:19, Christoph Hellwig wrote: >> So then we could have: >> - ubuf / iovecs need to be PAGE-aligned >> - each iovec needs to be length of multiple of atomic_write_unit_min. If >> total length > PAGE_SIZE, each iovec also needs to be a multiple of >> PAGE_SIZE. >> >> I'd rather something simpler. Maybe it's ok. > If we decided to not support atomic writes on anything setting a virt > boundary we don't have to care about the alignment of each vector, ok, I think that alignment is not so important, but we still need to consider a minimum length per iovec, such that we will always be able to fit a write of length atomic_write_unit_max in a bio. > and IMHO we should do that as everything else would be a life in > constant pain. If we really have a use case for atomic writes on > consumer NVMe devices we'll just have to limit it to a single iovec. I'd be more inclined to say that SGL support is compulsory, but I don't know if that is limiting atomic writes support to an unsatisfactory market segment.