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 5FC03C7EE26 for ; Fri, 19 May 2023 14:42:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232132AbjESOmT (ORCPT ); Fri, 19 May 2023 10:42:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232088AbjESOmR (ORCPT ); Fri, 19 May 2023 10:42:17 -0400 Received: from mail-qk1-f171.google.com (mail-qk1-f171.google.com [209.85.222.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AE19119 for ; Fri, 19 May 2023 07:41:34 -0700 (PDT) Received: by mail-qk1-f171.google.com with SMTP id af79cd13be357-7576e0b14ceso174302485a.1 for ; Fri, 19 May 2023 07:41:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684507293; x=1687099293; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ruzCCcFqzef6NacZHTXOwoNZcEE4fN80jkfDGRuHqfY=; b=c4aO4C5AWIoNmNgPJq9Z2b1TmDBvq+cZx4XsyGZJdcfwn4Kv4KHtOs0W4z4uCEeNho KGWOaubXkQ6ulRshJFfrMojciFe9sDdlM1VEwLSzmsJIpVbFhD2S2f+fvGR4LBTGKVya PnDc/Sfj8LsufEDr0PYQAkrjsU68PXlvqDPhJFbWsoNizmcN0Pxmmi8L0ESD6+cOMMEA YG64V2nZwgx+rAbgSTcqAivlKLdcE82eB0B1gxGGBwpbKkJDdCupMmFveJuuebwIXAfy ozq5BLV4sUKHp1hDyK20tJ9KbpbXceb8fPSTshlg+SSuAQxqqZjj5v+Mt4H+2E1eYQhD SivQ== X-Gm-Message-State: AC+VfDweFGwU6XG7dvl3yUYxg/rTFNKvb+rzFLoPtaqBabm+NoPRAdtJ k5r39B8UbOd3tHyjVlTU4p5s X-Google-Smtp-Source: ACHHUZ7qTfS72Mnvokou1gCiu8aMJLDGwXNKH9h+hze9P3ooxLjSWNKQoFEuFuJJeWOz7sBi4VE6LQ== X-Received: by 2002:ad4:5d4e:0:b0:5ef:1e0a:1b07 with SMTP id jk14-20020ad45d4e000000b005ef1e0a1b07mr5299722qvb.40.1684507293525; Fri, 19 May 2023 07:41:33 -0700 (PDT) Received: from localhost (pool-68-160-166-30.bstnma.fios.verizon.net. [68.160.166.30]) by smtp.gmail.com with ESMTPSA id qd17-20020ad44811000000b005ddd27e2c0asm1358298qvb.36.2023.05.19.07.41.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 May 2023 07:41:33 -0700 (PDT) Date: Fri, 19 May 2023 10:41:31 -0400 From: Mike Snitzer To: Christoph Hellwig Cc: Sarthak Kukreti , 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 , 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: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 19 2023 at 12:09P -0400, Christoph Hellwig wrote: > 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. Valid point for sure, such storage shouldn't advertise support (and will return -EOPNOTSUPP). But the primitive still has utility for other classes of storage.