Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp411846rdh; Wed, 14 Feb 2024 00:00:55 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXoQMGF/s5hlzTSAsQgt5YYsR2df0KBu483V4bZPixfov7inHoX0fj4Kxuzlqt+D0th7IdhdfRp04KPzeqrmUSci35vTa2HQWx9eCGPcw== X-Google-Smtp-Source: AGHT+IHyQQ1sf+nqTvorOFDE/lWUC7kKqIXFK89Ff9ibOD2jpuP3v4FzWdAD+bWdHR9Ty2FrnSB1 X-Received: by 2002:aa7:c49a:0:b0:560:3a3:0 with SMTP id m26-20020aa7c49a000000b0056003a30000mr1582087edq.30.1707897655058; Wed, 14 Feb 2024 00:00:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707897655; cv=pass; d=google.com; s=arc-20160816; b=DLCpfnF95KP6P3+pCWvIYJemC+5a0Ip5sreHJY8u9Eq15cQSMyZP4vgDrCfZmtnCGa FojsnpjNpAX99Yc1UufBNtON8HcfphvYn+cz4UkAOXcrazDR878J3QRktfo3kI5XCZ8i YQUzAVp3TjNIBtk/+VwenvAYZ7oJDCTn1XBa6/5GpN6WRxaj8oJir++CwkPq0INCjZZK leyi8vZH9S+BJIxiVhqUdAyZCo9u7to+1OKg0Nr9CABrcDg4lk1dzYN7T1cuVTXS8jpd BeXVfDrmPFQi5NBMUoR2Z9Dlk8bobAYj2z/JH5htPBE6HhX2E/aIuyNnyR34qDpMaIkB lnfA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date; bh=SlDfSacAmvkYg4YRJ0SSR9Djg0KENVzB2R7+zG5tZ4I=; fh=PQrdNq5Q6duIgqXFnYIFithHogSpthIbLLdMfo7YQhI=; b=wnlt3ZPd3LGUxdkR+i+VydAtYcL+mVDY4j7vhwCtvVNsmQpHxFExjgjRRA+y29G/0n SgQlrYHo/ytOGfHHQi3ky+UfrVDwWY/qYWCr6A2PMvYkeThRAL1Z4JTw/1674w3grlpg xFsx8WHAQ1gHhlpZmcrqSQx9ifsCOGoWjNF2l26zhcypnOw1HyFu2HTe3J6STZWKBFsX a+/57Zm5C2Iejc/W5+JT+hNgbL+F9Em02iRGSOZ3woDbMlFsB2U8RvmQei9m5kJIOc9U AM1RRNxJb6vai1r5grqWmbpsvEsynHvjGrRazdS7nWMM2EPSquEXBqb16M8Wdremll7H apUw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=lst.de); spf=pass (google.com: domain of linux-kernel+bounces-64851-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64851-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCXiIeRy6xX6hCPSzW33n8SHF2hm++dkqAD2mmtNH4+LLz6bCmvFcZecuFllOs/ZoKXYA8+eAU2IMHQqYYkXE6W9NNwgIKzKTyrToNJQTA== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id n12-20020aa7d04c000000b00560d728e82dsi4650004edo.32.2024.02.14.00.00.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 00:00:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64851-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=lst.de); spf=pass (google.com: domain of linux-kernel+bounces-64851-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64851-linux.lists.archive=gmail.com@vger.kernel.org" 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 am.mirrors.kernel.org (Postfix) with ESMTPS id C1F2F1F251EE for ; Wed, 14 Feb 2024 08:00:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 146E8125D9; Wed, 14 Feb 2024 08:00:37 +0000 (UTC) Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (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 E2401125A3; Wed, 14 Feb 2024 08:00:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707897636; cv=none; b=jAtPtIC8p+5a3vIuuclwublETeE8d+IAzfKiBBX97QbBDvI5CwnIh2bJ/EoUWPV7sWYj6uc97LPsOoIC7/75CnKJUItB9dFFOYGBb24zNAeaiK4rS0b1IVB3q/RZXvlUrn/neav3JpGqYYIKsXA26BGNJG+LIXdnjciOC2Sdikw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707897636; c=relaxed/simple; bh=w+kO/jU3FepRDw8e+GUzUO0e9U3cbv0TzS0zcfTAyPE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=r0rAsk8ZzR3YddveEp5jUiLTaNEEzvWmkSB6kRqsJBT9jGg4xFlo1w+HN2sdpNhKGxvZYv1PsOPEz1ezAgiwofxxzAaizFNFqKUOD9/kQH/w7trQLlm9ZM/mHK8CsMN3ItoPQhXoNjRPd7/WWdRLDCOrKjUfbrZXdyO8BmkB+V8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id 0DD4C227AAD; Wed, 14 Feb 2024 09:00:25 +0100 (CET) Date: Wed, 14 Feb 2024 09:00:24 +0100 From: Christoph Hellwig To: John Garry Cc: Christoph Hellwig , axboe@kernel.dk, kbusch@kernel.org, sagi@grimberg.me, jejb@linux.ibm.com, martin.petersen@oracle.com, djwong@kernel.org, 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, ojaswin@linux.ibm.com, bvanassche@acm.org, Alan Adamson Subject: Re: [PATCH v3 14/15] nvme: Support atomic writes Message-ID: <20240214080024.GA10357@lst.de> References: <20240124113841.31824-1-john.g.garry@oracle.com> <20240124113841.31824-15-john.g.garry@oracle.com> <20240213064204.GB23305@lst.de> <0323ba69-dff9-4465-817e-2c349141b753@oracle.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0323ba69-dff9-4465-817e-2c349141b753@oracle.com> User-Agent: Mutt/1.5.17 (2007-11-01) On Tue, Feb 13, 2024 at 02:21:25PM +0000, John Garry wrote: >> Please also read through TP4098(a) and look at the MAM field. > > It's not public, AFAIK. Oracle is a member, so you can take a look at it easily. If we need it for Linux I can also work with the NVMe Board to release it. > And I don't think a feature which allows us to straddle boundaries is too > interesting really. Without MAM=1 NVMe can't support atomic writes larger than AWUPF/NAWUPF, which is typically set to the indirection table size. You're leaving a lot of potential unused with that.