From mboxrd@z Thu Jan 1 00:00:00 1970 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 0B5F25CDF3; Tue, 20 Feb 2024 08:31:28 +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=1708417890; cv=none; b=WgoF0U44eMfXh1M2b0wuQaIosw1JI4WpuIf9Gt9NqJnKmd/+HzJrUcJD0bEzlcKf5eCq+diH9umIIlieee8/RfnBd4jKcOl1IKE9/je9xjVIiv2c5y0XTRNX8J5tQkFUZ0OLngwAw5RguLXtAqQEx4x250896bVb0JcEzPq4JXI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708417890; c=relaxed/simple; bh=YDk3HYOqxUsiTTB2+NpAfAn1JtKi7MAC2KEQKhACM+U=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=i8xfrjGWxydKkTx7ikR94K5nZWXRNKNeqq+QPaBn2WBlPcMqbkkHSUn/EGWIxb81EVVJlLza6AqwexEtC3Po05yxvxFBNSu0tT2/uDVN+q1kRCgZr0hDBVbSHg5XzynA4BR+Eipce21F1AIMQ/DRBwfmBgdysVQtGSZE0DPDdXI= 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 C0CFB68D05; Tue, 20 Feb 2024 09:31:20 +0100 (CET) Date: Tue, 20 Feb 2024 09:31:19 +0100 From: Christoph Hellwig To: John Garry 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, dchinner@redhat.com, jack@suse.cz, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, linux-fsdevel@vger.kernel.org, tytso@mit.edu, jbongio@google.com, linux-scsi@vger.kernel.org, ojaswin@linux.ibm.com, linux-aio@kvack.org, linux-btrfs@vger.kernel.org, io-uring@vger.kernel.org, nilay@linux.ibm.com, ritesh.list@gmail.com, Alan Adamson Subject: Re: [PATCH v4 10/11] nvme: Atomic write support Message-ID: <20240220083119.GD13785@lst.de> References: <20240219130109.341523-1-john.g.garry@oracle.com> <20240219130109.341523-11-john.g.garry@oracle.com> Precedence: bulk X-Mailing-List: io-uring@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: <20240219130109.341523-11-john.g.garry@oracle.com> User-Agent: Mutt/1.5.17 (2007-11-01) Thanks for writing a good commit message! > NVMe namespaces may define an atomic boundary, whereby no atomic guarantees > are provided for a write which straddles this per-lba space boundary. The > block layer merging policy is such that no merges may occur in which the > resultant request would straddle such a boundary. > > Unlike SCSI, NVMe specifies no granularity or alignment rules. Well, the boundary really is sort of a granularity and alignment, isn't it?