Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1531080rwd; Thu, 8 Jun 2023 20:58:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7vZzsvmKSQmKqURglJ+KxYTX2Le/LfOSO3/QptVT6ss1wIXa9b7YuKK1QtNoaMkchoueRk X-Received: by 2002:a05:6358:f19:b0:129:c9f4:a715 with SMTP id b25-20020a0563580f1900b00129c9f4a715mr204839rwj.29.1686283088136; Thu, 08 Jun 2023 20:58:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686283088; cv=none; d=google.com; s=arc-20160816; b=VdvzieYOMdYVANqy8XVUnbQVdfYc8CYiLZRUgzSGR78u6Jn4+lMArwEG0A/o3tdLxD I+4eDfqUMDNesHi9cewyw0YQZ6FnKo1885dSak2KbofMbMCZQuLm9mUQJTQXnIpGv2Wn vZaqgApWtk3JFjMqqkOCQllKO/1fg931Rd2UJYbdZEvsAuGv2IrXqRmy/c3Md4kNRYbD 5t3BJilmkqsol75fAAxJiXifLy6ZECC7dwhni2AwiwN970RxUgB3XhmeP9GOs3RaK77w Bk2u3mee/DTad9WmQzZngYRkCtUSiHqbnwC+ew3HKvAFVcmFWCOn30sX1/oDjSqB1oNy kaLw== 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=6iwigF78U3EwOQGn53e2UyWPNzHupFHtA26oaO3R2wc=; b=gQuYpX8jQAWmU0dSOZaxWBVgivIg1yU04OWUE2WIxkUYUPwkFodS+gwM1t+WW4k538 WOAY7WparR7zUrO6Cy0pRhEnJOsQvF77PiTfPdjWUtfYWAzvkBg9abSQMuIpOM7E2TpD uNuk/WpMHYBQFm0Tosvz1uFOVjpP89YQd0w4Z+Dwjt8C6KgD+EwlXCD+tXQ2t8VbpOwF 4UxZP/gbHRXB3k9bkzHMcjQMkp1BUAgocSm03P8h5WPBZoD0ODPaLcL/EEjKg1yzNC3z FOGEg63Jd+VTaB3uCg7QVlNCp/18DJJU8SzzN7DO35mdssMbuXH43NyEt0sxdl0nqcHN EBcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fromorbit-com.20221208.gappssmtp.com header.s=20221208 header.b=IUFu6gG5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fromorbit.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 2-20020a630b02000000b0053f2551834esi1991799pgl.735.2023.06.08.20.57.54; Thu, 08 Jun 2023 20:58:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@fromorbit-com.20221208.gappssmtp.com header.s=20221208 header.b=IUFu6gG5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fromorbit.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237219AbjFIDdG (ORCPT + 99 others); Thu, 8 Jun 2023 23:33:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237665AbjFIDdD (ORCPT ); Thu, 8 Jun 2023 23:33:03 -0400 Received: from mail-ot1-x336.google.com (mail-ot1-x336.google.com [IPv6:2607:f8b0:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43BD030F1 for ; Thu, 8 Jun 2023 20:33:02 -0700 (PDT) Received: by mail-ot1-x336.google.com with SMTP id 46e09a7af769-6b2bdca0884so303395a34.2 for ; Thu, 08 Jun 2023 20:33:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fromorbit-com.20221208.gappssmtp.com; s=20221208; t=1686281580; x=1688873580; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=6iwigF78U3EwOQGn53e2UyWPNzHupFHtA26oaO3R2wc=; b=IUFu6gG5Y34+fr+pT0fZlm3gbhBerxiSZw2i1915MxIWtDQeIYZTwhIfxZmRHtIyiR NFlOVNBDBv4/iHd9xqTHen6L7cwEJR2miWxty9rxd+mk6AtmzR3I1xxG5LAkyihtV0UE 3/jD4CNKGPbNmdD2KK8c1YBe88FwQhH58dTi9C94lOBqYZTDhOFWExKvxj5Kp+IXNOgU zX89XwkY9Pgh5GQ5zDMDjn1C2akzPzmnPzODvfSMY1/G48ZUuRJTjtxkVvp/a53l/BsA SRJ7B68f+Pab/mILI/Gop73OnxPKT98d3/ZDR6sz0msjAMQnDOI/J9Kzm9qPanig48z3 RfKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686281580; x=1688873580; 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=6iwigF78U3EwOQGn53e2UyWPNzHupFHtA26oaO3R2wc=; b=Kb9GpBoa3bFNsWI6HcrJw+0Aj+ut2k6b8zpZvJAjR6vJqLnwHuyjllvA9fxy9QovR1 TR4CbfUHzqXoiGGivmMHmOozCYx5iFCnyJ0qkymfcc1O5drrRaY1r64z4BeKmCkm9e+y 8hZLEo8lr76ppVDhisFXhwdCw0RyjIGLLgECZm1ZiT484bmK87QyRo91kqAymvelL0mN ukk9Fv0c0sOmiaYBSUsPfwBEuPiCwBkUJ/m2s03P94YF/Er/jhWpWhga4p+cpS8kXhpS S2S7o41xwFhQmTE0rL3yf2v64Lr3s05/OchT2SxE9etHdBzDdjw8onqjR2XQe7HrrW4R nGrA== X-Gm-Message-State: AC+VfDy/Ks/oZLOrs+zVE6hzGEXwECaywct4O02Kh3nwj5VrleZV4eBW HNwaCOLvtrFN/Df2RJsuM0CoLA== X-Received: by 2002:a05:6830:3a0a:b0:6a6:6121:dc60 with SMTP id di10-20020a0568303a0a00b006a66121dc60mr317885otb.10.1686281580410; Thu, 08 Jun 2023 20:33:00 -0700 (PDT) Received: from dread.disaster.area (pa49-179-79-151.pa.nsw.optusnet.com.au. [49.179.79.151]) by smtp.gmail.com with ESMTPSA id t1-20020aa79381000000b0064381853bfcsm1723703pfe.89.2023.06.08.20.32.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Jun 2023 20:32:59 -0700 (PDT) Received: from dave by dread.disaster.area with local (Exim 4.96) (envelope-from ) id 1q7Srw-009XUr-2X; Fri, 09 Jun 2023 13:32:56 +1000 Date: Fri, 9 Jun 2023 13:32:56 +1000 From: Dave Chinner To: Mike Snitzer Cc: Jens Axboe , Christoph Hellwig , Joe Thornber , Stefan Hajnoczi , "Michael S. Tsirkin" , "Darrick J. Wong" , Jason Wang , Bart Van Assche , linux-kernel@vger.kernel.org, Joe Thornber , linux-block@vger.kernel.org, dm-devel@redhat.com, Andreas Dilger , Sarthak Kukreti , linux-fsdevel@vger.kernel.org, Theodore Ts'o , linux-ext4@vger.kernel.org, Brian Foster , Alasdair Kergon Subject: Re: [PATCH v7 0/5] Introduce provisioning primitives Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,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 On Wed, Jun 07, 2023 at 07:50:25PM -0400, Mike Snitzer wrote: > Do you think you're OK to scope out, and/or implement, the XFS changes > if you use v7 of this patchset as the starting point? (v8 should just > be v7 minus the dm-thin.c and dm-snap.c changes). The thinp > support in v7 will work enough to allow XFS to issue REQ_OP_PROVISION > and/or fallocate (via mkfs.xfs) to dm-thin devices. Yup, XFS only needs blkdev_issue_provision() and bdev_max_provision_sectors() to be present. filesystem code. The initial XFS provisioning detection and fallocate() support is just under 50 lines of new code... Cheers, Dave. -- Dave Chinner david@fromorbit.com