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 4A801C77B75 for ; Tue, 9 May 2023 16:53:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234632AbjEIQxN (ORCPT ); Tue, 9 May 2023 12:53:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234552AbjEIQxE (ORCPT ); Tue, 9 May 2023 12:53:04 -0400 Received: from mail-qk1-f174.google.com (mail-qk1-f174.google.com [209.85.222.174]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7E2230E9 for ; Tue, 9 May 2023 09:52:18 -0700 (PDT) Received: by mail-qk1-f174.google.com with SMTP id af79cd13be357-75773252cbfso305122685a.2 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=SxfjV9qhIqe4F/RWFKxy1ppkQyzhxyntwpYFvYr+ohODGJ+VuD9HPIy3heTtxskNto hH6RVoz8zd3kWHjHsXlVB5rAsZGC2lwSiggUyt+H2pKNTML/F7Yf9OcP4gweM07JsmeY /xO0qyB9N/UrMfupB9cUSqNKGXkRwwKpRCKd32WucwGdQkmG1eih6wS8w+Cgqh92dk8O GvPp7u4qjriv8edzXbhA3tabkue44F0gIysING5UzYKliM5/mARI1H1TFkwstrdF4h5O +glvWstpmItW3MCvkogr3wFFEdZSq3HU3eMJRBPb6YDDAaS3BTNTw3OGikWapdYJg5os hPsA== X-Gm-Message-State: AC+VfDwDVdvtinkhg2kbDASzwgNLemiGfu9TxWNan3zd5pAW/esvLB+3 WT+H1yYMGR/1aVrj5M6uffFd 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-kernel@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