Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp631743rwb; Fri, 23 Sep 2022 01:51:18 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7QQ1EI0zF6P8CRyonSr0Plex0Zpx1d1qDYzx2ifnxye6EStK3ihozeqb1nxu0tFQD7qfh5 X-Received: by 2002:a63:ce17:0:b0:42a:bfb6:f218 with SMTP id y23-20020a63ce17000000b0042abfb6f218mr6566103pgf.484.1663923078067; Fri, 23 Sep 2022 01:51:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663923078; cv=none; d=google.com; s=arc-20160816; b=xFuymEXf8KU3A4x1sLvpKpU0xgqxTlYWkJJfSMprKcESTD69mbtqaXK3ARFWIvjcXe 014IPzZLXvc6Un8edf9yk/pt6ReMTdcV5XVz20lxYsMEXHA+sjAi/n0BWuqt5LC+iKPq fJpHBAR7m0DJCMwvTf466tXav4mXX2wUz2CDYkxCNiCeIcwr8k9rmN7EN4wRl+wv0yol bq/vYD/lUmdQPFFmeyNE2Aa7kMpnTOPcoHxQm31TE4G0PV0VEW0WP3DIW/KurMZqU6iw iWcEloo8TXG5tAJY8CHj4Tjos3w7nJdV9n3GGyPv6d7anmjHVEx4SwmFfHuUNLtqWfB7 D4tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=DjlxZdtey44Z/qjRGLy58acitXkoH1HyP/t6lSaY/qE=; b=bwXGaNCjsZqvM6J4durKGZUOFPclFviNI3c8TEWvjxWkfgSR/HlUkQ9lqI9Ys13QV7 LrKkR1/uyum6B0d+OhwAgy5ldB051AejooiWjACAYkJqtWSW2GRztxfQvMwnAVm6br7K qyIi+zNxHxlq3Bm9BasSHbpbd7Qxt+F2d/sZ5i7FMqo+EKOZZX14n3baQowyiJOZaK4S NUuK/2sibT03QA9Q1OBlMgrlwlxWF3mWzRyughA0pspdvXIOhx/5IRFGcRLn0zH1RMgE doh7pBFBFUzmeFSevQn4RTiz/us2SK9A94h8P33sC11ucYERaC3OOwBOI/y+h1d3PkZD E0Hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=BXVZwtcb; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x66-20020a633145000000b00434c08137f6si9273578pgx.590.2022.09.23.01.50.56; Fri, 23 Sep 2022 01:51:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=BXVZwtcb; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229706AbiIWIpr (ORCPT + 99 others); Fri, 23 Sep 2022 04:45:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229810AbiIWIpr (ORCPT ); Fri, 23 Sep 2022 04:45:47 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 671F2F1632; Fri, 23 Sep 2022 01:45:46 -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=DjlxZdtey44Z/qjRGLy58acitXkoH1HyP/t6lSaY/qE=; b=BXVZwtcb/kl8Tto92SETo8PZe8 REo44VsUynG9nEa6bfIsgSSQ+PzPNLvzLs+WSgeB1EkLVqCdFdDKhjWK/hC9q4mIh3GE70XDvE5K7 O1yCEuzo4mcNEttHs+gVEKb6QgKLb8HhKydQo1kR44Jm4XBMbIpywnDKaFYYNNqyK8760JAkCBe0G 31TUxsCdXgHaSLHMmk2cGVZaUkTW0lyjW7NrYq3G6IfxUTuAbOJjjtv6ubS2l9xMr4U+XmjPtE7lo BU9xzoRrnwOaHo1rIz51+AjEm8rqdqIU3WaRllrm+oT/ZjTdPTlfO8nmOfhx2InEDN2GjwIyFSh0R U0A62d+Q==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1obeJc-0032Vm-96; Fri, 23 Sep 2022 08:45:44 +0000 Date: Fri, 23 Sep 2022 01:45:44 -0700 From: Christoph Hellwig To: Sarthak Kukreti Cc: Christoph Hellwig , dm-devel@redhat.com, linux-block@vger.kernel.org, linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, Jens Axboe , "Michael S . Tsirkin" , Jason Wang , Paolo Bonzini , Stefan Hajnoczi , Alasdair Kergon , Mike Snitzer , Theodore Ts'o , Andreas Dilger , Bart Van Assche , Daniil Lunev , Evan Green , Gwendal Grignou Subject: Re: [PATCH RFC 4/8] fs: Introduce FALLOC_FL_PROVISION Message-ID: References: <20220915164826.1396245-1-sarthakkukreti@google.com> <20220915164826.1396245-5-sarthakkukreti@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Tue, Sep 20, 2022 at 10:54:32PM -0700, Sarthak Kukreti wrote: > [ mmc0blkp1 | ext4(1) | sparse file | loop | dm-thinp | dm-thin | ext4(2) ] > > would be predicated on the guarantees of fallocate() per allocation > layer; if ext4(1) was replaced by a filesystem that did not support > fallocate(), then there would be no guarantee that a write to a file > on ext4(2) succeeds. a write or any unlimited number of writes?