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 4CD32C77B7C for ; Tue, 9 May 2023 16:53:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234562AbjEIQxM (ORCPT ); Tue, 9 May 2023 12:53:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234528AbjEIQxE (ORCPT ); Tue, 9 May 2023 12:53:04 -0400 Received: from mail-qv1-f45.google.com (mail-qv1-f45.google.com [209.85.219.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7C4C30D1 for ; Tue, 9 May 2023 09:52:18 -0700 (PDT) Received: by mail-qv1-f45.google.com with SMTP id 6a1803df08f44-5eefa0a5561so57606426d6.1 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=fU/MaXnjh6SdgSRz/1wHp9aU62aMLfGc6vOefWUq2i0wU0HQosBJ9Jcn95FtPMQrbm KIo5JJHDiDBFZfDOrfYyn2cs5w7sxF6iQZRhit6n4eRqjITAW9/KLnkMOT67mmL8Zi4h ULbKHDXFPJqCBTeZ2Bymm9/zKhYjBCuqv6+L8YCR+dIjwSO4J3lHZLhtEmbd349JzQ0W 3HaZ2JAAaOO2wdE2Q1oLE0Ye5FB0EVNWnCmajVjcMAKMl8PciFHtVJzYPelEWZWpX0oa 7rVKFA/56qciZXBTvk9wxaAWz4utlsu7xz+uGvhf0y+GgBrIDCYYanJQu//9NG1x7m4R XyMg== X-Gm-Message-State: AC+VfDxMa1r9MfPdoWa1eOtVbKy9K/JwgMvb85YlBh+j0gjJY7GVnsMt +WTExQG+S2uRVF0bbs0QwQc3 X-Google-Smtp-Source: ACHHUZ6sqdNZ2jTWBpQoQUne2HxU2x6SkHvDsQePL/EB6aWKWGfiLRP7QOvsu0TXIL8IYmrE41X/oQ== 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> Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@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