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 769CB288CBF; Tue, 15 Jul 2025 06:05:16 +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=1752559518; cv=none; b=Efq4hQxxeVTp+7uo4P+35pkf29WypcvMeWE0OeikEgm6C56ohvpzIdoZidFZha+OlZFhOklkRiB+L3Tr3vZ6xx/dh3XD1Jh59fe0L/sAYnH3CuC/JVc9rkcrSaEu/E5xA5fjtJgz4GRbXHwBFPgBQdL5y462/5uz0lJhqfahAew= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752559518; c=relaxed/simple; bh=Zl8clbLEp2vhJBVjc/hrJfu+lYlDsB7AEiBQWe7V6xY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=NoKVh5TlPKfxAb2Up1gUqaZwe83SQET7YstAOkhzvBJGLeoh+DBuAfhx/cTRI8TkwGZ3A+wz9uo9al6bhMb3iL/EHzM66Uq8SMvXLC2+R/j7CxIcy38MXNzTQGQspD6o95oTmkIHff6M9dqFq1wt+DC/4ZYhNwnpmb8LALN/LF4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (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=pass (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 324B6227AAF; Tue, 15 Jul 2025 08:05:10 +0200 (CEST) Date: Tue, 15 Jul 2025 08:05:09 +0200 From: Christoph Hellwig To: Dave Chinner Cc: Christoph Hellwig , John Garry , "Darrick J. Wong" , linux-fsdevel@vger.kernel.org, linux-xfs@vger.kernel.org, linux-block@vger.kernel.org, linux-nvme@lists.infradead.org Subject: Re: Do we need an opt-in for file systems use of hw atomic writes? Message-ID: <20250715060509.GD18349@lst.de> References: <20250714131713.GA8742@lst.de> Precedence: bulk X-Mailing-List: linux-fsdevel@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: User-Agent: Mutt/1.5.17 (2007-11-01) On Tue, Jul 15, 2025 at 06:53:29AM +1000, Dave Chinner wrote: > This isn't a filesystem question - this is a question about what > features the block device should expose by default to the > user/filesystem by default. It's both. As I said before we've spent a lot of time making the file systems less reliant on hardware getting everything right by adding checksums (for metadata everywhere, and non-XFS file systems for data), lsn verifications, etc. And now we go all in to trust a new (in case of nvme very much misdesigned) feature. I'm perfectly fine offering that use, but I'm a lot less excited by automatically using using it due to my deep mistrust of hardware.