Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp50588rdf; Mon, 20 Nov 2023 16:00:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IGNQPJB90m0QOrTrVoMrQ4SgUvkAV0Hnp2KxC/J1QY7VgUaJzJMdO+wIv5V9zVtwQyrfan3 X-Received: by 2002:a17:90b:3504:b0:285:25b3:4d5d with SMTP id ls4-20020a17090b350400b0028525b34d5dmr4255401pjb.8.1700524808463; Mon, 20 Nov 2023 16:00:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700524808; cv=none; d=google.com; s=arc-20160816; b=W36+uiax6ETFh8t4wqJ+nFdQxGaZ7XyXGlzFQztwYplB+zgu3Pt2P0PpFqM7e2yNZI wpyOZACDsrxXmDWX2Gf5oQ8+nKEFk8ne0G6gM97CpgzPFlQjZZ/WTukwOza4Ru+1t5xK KsLg//63UEnHkboPf88hooweKT5sOCdPvXUk3reU4R7yezRtq1C58879WVkw8eda2/ib A2A4Ezx3zJMsq6X9ZqmU2x+PjFioMuB9KH59SY6Terw4G3K+oVEbtZBqOYr222n5bsR3 zGO3bw+SkGpsjnjDiAJTAmkn3KAQT+9LORGkwgG5L+ky8GF/pb+B6ox+gqvKVu9ytFV+ 9xrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=hvy2CV8CQ1z8xyF0eqyyieG0M3+ja1/tOprJQEZU3U0=; fh=saPxDLl5pxIQSXaPI7xfscmUr8YJSK3PyxgnUrM0ftY=; b=Q829p+vlwcYnMNzyro6G7BZW6LxIn/bA4k6wG6hGTVGzMRVbZZ6DwP6N+sDjlt9o3R 5hqr376nB7OA8rxGWF0FYmBJsXHOgza7ilRijLrJs1nlewofgNy+UYh6f9dnEunAxZTn IQSmF87HD9vYFAudEejzUzlDCVGogrs+5H73XV0prBbQrwXlnk06CWu4Rfo25zASHirt Bqx0BLCbbbpNdnENvrDoN6nYQ93KYNPkr1wbfJ9ijRBh2Hc6qzHdhlKaVI/qrw53v3tN 4507Vm9sC8CEIcNvYlxRZJPDmuMCYtCnS4l/EnROavLDTaaj5OgUQ/iEqDlpQybfZztA ndUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Y5licVVA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id h19-20020a17090adb9300b0027b3755185dsi11499660pjv.99.2023.11.20.16.00.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 16:00:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Y5licVVA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 338358029AEE; Mon, 20 Nov 2023 16:00:07 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232590AbjKUAAH (ORCPT + 99 others); Mon, 20 Nov 2023 19:00:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229492AbjKUAAG (ORCPT ); Mon, 20 Nov 2023 19:00:06 -0500 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6C4EAC for ; Mon, 20 Nov 2023 16:00:00 -0800 (PST) Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-a0039ea30e0so143779066b.2 for ; Mon, 20 Nov 2023 16:00:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1700524799; x=1701129599; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=hvy2CV8CQ1z8xyF0eqyyieG0M3+ja1/tOprJQEZU3U0=; b=Y5licVVAyPYKD/k20MMZkSMbBgiQ++7QRIuNqG+xiuB0SnUHTKl3SoFGXT9oOR1BFC 6te8qwB6pW5OllpzSlBA9GOtTqW+jpPSILGsKwRrY8KLEvYpVbUVFoqRZkoGqV7rnhFC aZyf/bNkojtKE+Jy9BzgucSosPFunWOnts5Jg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700524799; x=1701129599; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hvy2CV8CQ1z8xyF0eqyyieG0M3+ja1/tOprJQEZU3U0=; b=Q+sdPSJSXhbcKsmqze33aG1SZputiWrZwHo3sSd5u9lct5JZ0nnycnIXT0RQtGcDHl EZvj1i3GN9r9gamsDNfAVVfVle6kpa1jlnixvFog1lJe15dFIYEdaa/mZWoVkhQEx/mM 6vr/u3SOmpKJ7wJDy3TUFShuEfXQKfP5KDJcFJnjMmA5PFHkfldrejsPPd08DfdYIIzf qBcbX+0JBpJyE+Y4ACfbyEFj643tTPUxLVAHiIjbbDPuCwjhNf6HJ940KdTvV2qTTfVU Q01EbWD4TOFoc2OUyJ+msOoIAH3YzPoKJObbd5Me9TzEACaiyBS5vdBNsT/JL3NxKitj 6QVg== X-Gm-Message-State: AOJu0Ywt97zbA2D5u5WfKHm0s+KgDOaORMNIns/IUiH4ERYE1i1p+B5p C4V/N/vsslBexp/YjcT5HC+9dBXqofG2YfTfy4eVZw== X-Received: by 2002:a17:906:5904:b0:9be:e90:5016 with SMTP id h4-20020a170906590400b009be0e905016mr6390836ejq.24.1700524799291; Mon, 20 Nov 2023 15:59:59 -0800 (PST) MIME-Version: 1.0 References: <20231110010139.3901150-1-sarthakkukreti@chromium.org> In-Reply-To: From: Sarthak Kukreti Date: Mon, 20 Nov 2023 15:59:48 -0800 Message-ID: Subject: Re: [PATCH v9 0/3] [PATCH v9 0/3] Introduce provisioning primitives To: Dave Chinner Cc: dm-devel@lists.linux.dev, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Jens Axboe , Mike Snitzer , "Darrick J . Wong" , Christoph Hellwig , Brian Foster Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 20 Nov 2023 16:00:07 -0800 (PST) On Mon, Nov 20, 2023 at 12:33=E2=80=AFPM Dave Chinner = wrote: > > On Mon, Nov 13, 2023 at 01:26:51PM -0800, Sarthak Kukreti wrote: > > On Fri, Nov 10, 2023 at 4:56=E2=80=AFPM Dave Chinner wrote: > > > > > > On Thu, Nov 09, 2023 at 05:01:35PM -0800, Sarthak Kukreti wrote: > > > > Hi, > > > > > > > > This patch series is version 9 of the patch series to introduce > > > > block-level provisioning mechanism (original [1]), which is useful = for > > > > provisioning space across thinly provisioned storage architectures = (loop > > > > devices backed by sparse files, dm-thin devices, virtio-blk). This > > > > series has minimal changes over v8[2], with a couple of patches dro= pped > > > > (suggested by Dave). > > > > > > > > This patch series is rebased from the linux-dm/dm-6.5-provision-sup= port > > > > [3] on to (a12deb44f973 Merge tag 'input-for-v6.7-rc0' ...). The fi= nal > > > > patch in the series is a blktest (suggested by Dave in 4) which was= used > > > > to test out the provisioning flow for loop devices on sparse files = on an > > > > ext4 filesystem. > > > > > > What happened to the XFS patch I sent to support provisioning for > > > fallocate() operations through XFS? > > > > > Apologies, I missed out on mentioning that the XFS patches work well > > with loop devices. > > > > I might have misunderstood: were those patches only for sanity testing > > or would you prefer that I send those out as a part of this series? I > > can whip up a quick v10 if so! > > I was implying that if you are going to be adding support to random > block devices for people to actually test out, then you should be > adding support to filesystems and writing new -fstests- to ensure > that loop devices are actually provisioning blocks at exactly the > locations that correspond to the physical file extents the > filesystem provisioned, too. > Fair enough, let me work on an additional fstests patch to validate that. Best Sarthak > -Dave. > -- > Dave Chinner > david@fromorbit.com