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 us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3B05DC77B75 for ; Fri, 19 May 2023 14:41:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1684507304; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=8I07eKzC74S2wQ9W4dvXSCcvDiTbj3htINvCKsYRi0Y=; b=HnzoPT9Kr0hA/QkzWOPjY3q9R2I6f2zoojg9NtEtkaBRHKTDMrWY/C7UONC/aOxtHKMa40 JumMGUtrmqKdwMicz9k3sIH309CJnjE5BZX3YpoLvqvMLg/b1w4NTn8+1bZ6TzzpcGjqgh ktBtysMXXqm+FODTSXmaFG+CdOiZ2zc= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-402-97iA8GNgPX-lq6jD1AC2dw-1; Fri, 19 May 2023 10:41:41 -0400 X-MC-Unique: 97iA8GNgPX-lq6jD1AC2dw-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 647D138025EE; Fri, 19 May 2023 14:41:39 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8AC8A2166B25; Fri, 19 May 2023 14:41:37 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 57D8319465B2; Fri, 19 May 2023 14:41:37 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 1A79119465A4 for ; Fri, 19 May 2023 14:41:36 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id EFFA87C4F; Fri, 19 May 2023 14:41:35 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast10.extmail.prod.ext.rdu2.redhat.com [10.11.55.26]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E80377AF5 for ; Fri, 19 May 2023 14:41:35 +0000 (UTC) Received: from us-smtp-inbound-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C51D41C0782F for ; Fri, 19 May 2023 14:41:35 +0000 (UTC) Received: from mail-qv1-f42.google.com (mail-qv1-f42.google.com [209.85.219.42]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-157-L0WRjOM5M8Cbo8ncvX0ijg-1; Fri, 19 May 2023 10:41:34 -0400 X-MC-Unique: L0WRjOM5M8Cbo8ncvX0ijg-1 Received: by mail-qv1-f42.google.com with SMTP id 6a1803df08f44-6238200c584so14269326d6.3 for ; Fri, 19 May 2023 07:41:33 -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=HxcY9AZMxVNtvJZV2IxyLbIJsOGvVlqqoZM2uzm9+JZSc3Kr1V1WOwworI0FaEyZMW 745DJ6DjPdVUwwKO5IB3Qa/zhweaY5uNHismpJ6Rk4CXB1UIehy1me6H/5xec8eriTix u66PfU7Cmepsip3oJWQtJCU9Pqro6BmUk9REqH//cvE0Bh7PDruQviHU078k/TBrPoNG YFD4ZmyOHuzKzm8/1hqEZ9ZFXWxNToj/L0th2sijGtN7k1vIpURm71iY/KOrgfu+73BB 4RLt03rIKUxqhS93OEsUNM2RIBb+vZi/bleTpVjMJZwiFKLuhHyZO2M/Cd0xDZijXvKL hB5Q== X-Gm-Message-State: AC+VfDyZfQbctYYiSec6Ps5XsVvUnwbiRXW6/GtDNN+H+uIxZVrtyHpq tK/r+eeK+Y8ZDVlfd6RhNNy4eoY= 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 Message-ID: References: <20230518223326.18744-1-sarthakkukreti@chromium.org> MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 Subject: Re: [dm-devel] [PATCH v7 0/5] Introduce provisioning primitives X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jens Axboe , Theodore Ts'o , Stefan Hajnoczi , "Michael S. Tsirkin" , "Darrick J. Wong" , Jason Wang , Bart Van Assche , linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, dm-devel@redhat.com, Andreas Dilger , Sarthak Kukreti , linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, Brian Foster , Alasdair Kergon Errors-To: dm-devel-bounces@redhat.com Sender: "dm-devel" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: kernel.org Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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. -- dm-devel mailing list dm-devel@redhat.com https://listman.redhat.com/mailman/listinfo/dm-devel 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 7DB33C77B75 for ; Fri, 19 May 2023 14:42:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232151AbjESOmS (ORCPT ); Fri, 19 May 2023 10:42:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231650AbjESOmR (ORCPT ); Fri, 19 May 2023 10:42:17 -0400 Received: from mail-qv1-f48.google.com (mail-qv1-f48.google.com [209.85.219.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69AAD116 for ; Fri, 19 May 2023 07:41:34 -0700 (PDT) Received: by mail-qv1-f48.google.com with SMTP id 6a1803df08f44-6238417112aso14301116d6.2 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=ek+s1Nj8/xihiIlaGcbNmEPDMGDvwBNH5T5OetIlMMpVMFA29i7qQNvy2XFkclraJp x9o+JkCL4a16CFyw+Xy1TYo8LokZSOytjn0l3zUJwgAvzYwC9xPxvXeXon1G7i145Zyh POQndI5jINYjZr6Cid4AM54P7jTJ9Ikdu6I3rjvieJiznWkP1rJFlnWQJhWPes01vg0O ILuofvarZTD/NQS/smb4xNa9OMcRvtU4nKgCnCxeDaE39BUdMWOwf8K2AU+UDAMvBZbF fz8Swsxt2SiWhMgEe1iJMTCHpsiqUbkShAbOLy6CHXfdalDnVLmZAuNJBL4U/SWqBOff M3hw== X-Gm-Message-State: AC+VfDzYZfXQYo9zxUeguQrXq6xmmIhdkALSg6ZH+5wJijhtOnk6s+im 6n5AdcCW1xgYruPp3jK3IhYW 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-block@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.