Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6079819rwr; Tue, 9 May 2023 09:57:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4h+IYpJX4JbKtNeoTw5ofevymAFsB7krCEPx3HqAG/uMrOgY2N7LCiy1+/esfiZx3qahKR X-Received: by 2002:a05:6a20:7fa5:b0:f0:eb30:d49e with SMTP id d37-20020a056a207fa500b000f0eb30d49emr18946298pzj.39.1683651458319; Tue, 09 May 2023 09:57:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683651458; cv=none; d=google.com; s=arc-20160816; b=f+2L0yzer8zkLWPnZtMRBLKH4YO32nRrdB1hUmjMRxVa5tm7KCOTxncYwkAf56G4iR Xj+vQ5Z0cD1v0eVluNp7qzbxiUzeBNGbut9TBo6yFGCCEgE8bs9vI777Iy96bBCby3pS A3iGmvGyHVgUzGvjGoLXb2rqP0TzE4uYFIBswiOr6NowKDXBpTdy9Mf0Qke9OhZ0Pssj 82EzffT5G7q/K6eybjSk2dObhNfgk+p74c03mjsv4RAE3x6tAVYIhNViYoFX+5QiIqWe gLvTV0RkzS3B4qaNSQyPR2YZwcZIuq49fJHObsXTj7mPw9AeGyXNYtBNp3uQSHI5NF77 VrWA== 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; bh=9NlCnOkM/MgxA+OhUODaj0DcPdY66ABvKJcAkS48+rQ=; b=NEXHi8EuRqFMRBlJYbZvqoQePev7/2/0IDPVJDVslPiZOsKJw1fQG2FNupAnNnGPOx uyYn/MH7GMLqD3IlSFvXcz1QMTPM2dG5TbdKzUNAkGrrjFdjvZsLLAtOg0saLnNzj1hM l4OrkEO9fawJRYpRF6N9m9NIWRsBvR1Jtz1hSqr4zxpRsqjvkJvE5qG+6tC4M5SB1885 6EalgIgbNwZjzytghEcTEa8667SBZ/50lmVXUyevvqxP8DadzccQq6e6BY0zDrZ/58rx 6y3P9P55oy3Mk5b2a4CjYsYGbzP863qMF/quOQyqL4z9JELzrxKq7wG8NTNQXxZ6GhQm 88xw== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k63-20020a636f42000000b005303a654a39si1867453pgc.520.2023.05.09.09.57.25; Tue, 09 May 2023 09:57:38 -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; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234747AbjEIQxU (ORCPT + 99 others); Tue, 9 May 2023 12:53:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234653AbjEIQxH (ORCPT ); Tue, 9 May 2023 12:53:07 -0400 Received: from mail-qv1-f43.google.com (mail-qv1-f43.google.com [209.85.219.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A81643581 for ; Tue, 9 May 2023 09:52:18 -0700 (PDT) Received: by mail-qv1-f43.google.com with SMTP id 6a1803df08f44-61b79b9f45bso57514156d6.3 for ; Tue, 09 May 2023 09:52:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683651137; x=1686243137; 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=9NlCnOkM/MgxA+OhUODaj0DcPdY66ABvKJcAkS48+rQ=; b=dFimOhJxOisC9sApyThGPvR+2Db7MsSppaAWbsqkmUrTX5tVZo1FdLahc+Zm97mKaW DippBoOABJ4qpd/oLQ1FS7Eg+9QlKJvr5pqeHLEJmSueHYduXB0rK5CbvjSVaEoy+dGH OmFtInvxSC7Mb2TjhGi36xefB7AxtbL98EUgXQYXfvL6YDNHHL7guux3JY1SaGaxvPiA Bn69piaamnqAQYgl3qsEezfpCMRHf5cIfCdovkzKtAnXMh0onFFMtkjaaASy5dMKG+IG oc1kWQioFaopMAKMK4ubcLHKVZt1oiJIKAlrTLhUo9jnPB9MXloiwJlkQB0ksqSz9IDX oKvQ== X-Gm-Message-State: AC+VfDzQEN4HBhXOwWhvET9luBkM9wQJZPjUsHqW7oSDWSUdIKk7qFmw c89+KRmrSocDuQcEDTCc9Yfa X-Received: by 2002:ad4:5ba2:0:b0:61b:6872:1459 with SMTP id 2-20020ad45ba2000000b0061b68721459mr18704881qvq.49.1683651137572; Tue, 09 May 2023 09:52:17 -0700 (PDT) Received: from localhost ([217.138.208.150]) by smtp.gmail.com with ESMTPSA id ew8-20020a05622a514800b003e635f80e72sm633574qtb.48.2023.05.09.09.52.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 May 2023 09:52:17 -0700 (PDT) Date: Tue, 9 May 2023 12:52:16 -0400 From: Mike Snitzer 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 , Theodore Ts'o , "Michael S. Tsirkin" , "Darrick J. Wong" , Jason Wang , Bart Van Assche , Christoph Hellwig , Andreas Dilger , Stefan Hajnoczi , Brian Foster , Alasdair Kergon Subject: Re: [PATCH v6 2/5] block: Introduce provisioning primitives Message-ID: References: <20230420004850.297045-1-sarthakkukreti@chromium.org> <20230506062909.74601-1-sarthakkukreti@chromium.org> <20230506062909.74601-3-sarthakkukreti@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230506062909.74601-3-sarthakkukreti@chromium.org> X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Sat, May 06 2023 at 2:29P -0400, Sarthak Kukreti wrote: > Introduce block request REQ_OP_PROVISION. The intent of this request > is to request underlying storage to preallocate disk space for the given > block range. Block devices that support this capability will export > a provision limit within their request queues. > > This patch also adds the capability to call fallocate() in mode 0 > on block devices, which will send REQ_OP_PROVISION to the block > device for the specified range, > > Signed-off-by: Sarthak Kukreti Reviewed-by: Mike Snitzer