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 61DB1C77B7F for ; Fri, 19 May 2023 14:42:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232159AbjESOmZ (ORCPT ); Fri, 19 May 2023 10:42:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232149AbjESOmW (ORCPT ); Fri, 19 May 2023 10:42:22 -0400 Received: from mail-qk1-f173.google.com (mail-qk1-f173.google.com [209.85.222.173]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68881E1 for ; Fri, 19 May 2023 07:41:34 -0700 (PDT) Received: by mail-qk1-f173.google.com with SMTP id af79cd13be357-75791a035b8so173490585a.3 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=dCO/hpAQMl7uBSXyxTjjeVrthq2XQrzb9HWh0eevI750ThBoeX9iwtXsHy7BLT3/zo L6n9lVjt7xn4JqFCC3g8C3gQ5Cv/Haf0zBgYKT55Bbt22kk9p98xT2XbyKSDZJetoOBv Dlq6Kzu/JTs5ebN3f2QMAnLBoB2I7G7SbqBwlp/PfzcT+Ffhn71ynxnJww3KXMfI8rMG MkJgeYaHlH4XnXaCO9KNmCwk+7fawL+0xSgRTKiDm80pRkUqB4vel2iS5bmmhbsFN2wZ qGEbkTBshyxVCY9m51WmdO8INR4atAwCt3IecvyEz1PFCZ3Qm+UUHfzl4NblBV/2vEjw VUXw== X-Gm-Message-State: AC+VfDze6M4kOshBBwCt25LyMyW98pW5REkROZ1E21l+KxUeLWi1ol6q mvu7WbtDIHZYNA84mU7fsyaA 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-fsdevel@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.