From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 B6521C77B7F for ; Fri, 19 May 2023 04:09:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229694AbjESEJJ (ORCPT ); Fri, 19 May 2023 00:09:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbjESEJH (ORCPT ); Fri, 19 May 2023 00:09:07 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8CA9E75; Thu, 18 May 2023 21:09:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=HXg35HcFvfn7DApgbjXj2w5IaDAEHu8YM3US8L0h4b8=; b=jeFKB8bkgGD82uTG+UlEswGwFE F8MGIWTyiPs2wxiZ/1F6vw/r2TbJkanDyaj0Mer8gtE8Dn8rXGB6CMHC8ioKMXhSwX8Z2uq+l7y2S bDT229/7hSrqoMYi1Jk4ZQPLwISATFQjUwzOCoqYywiY8nYAo9yzrt40tn1ZUOZX7YOwQdkeVOT7c u+vPGFPQfyiKMXURD082qjoizC6tLqAjK0tN02Ao4rrM1ATxnE2lsBYd/h/j4qdYedRQ2XQYNc9Tz zOA9Mg8ElOK0ZEmGynGUoNmLpXq/i5w/7T3iBJbjkuc7xSdi7gtsujVUixHsUBMeTY31RQ/FFutHq 4n+vTYiQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1pzrQM-00F1NI-14; Fri, 19 May 2023 04:09:02 +0000 Date: Thu, 18 May 2023 21:09:02 -0700 From: Christoph Hellwig To: Sarthak Kukreti Cc: dm-devel@redhat.com, linux-block@vger.kernel.org, linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Jens Axboe , "Michael S. Tsirkin" , Jason Wang , Stefan Hajnoczi , Alasdair Kergon , Mike Snitzer , Christoph Hellwig , Brian Foster , Theodore Ts'o , Andreas Dilger , Bart Van Assche , "Darrick J. Wong" Subject: Re: [PATCH v7 0/5] Introduce provisioning primitives Message-ID: References: <20230518223326.18744-1-sarthakkukreti@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230518223326.18744-1-sarthakkukreti@chromium.org> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org FYI, I really don't think this primitive is a good idea. In the concept of non-overwritable storage (NAND, SMR drives) the entire concept of a one-shoot 'provisioning' that will guarantee later writes are always possible is simply bogus.