Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1021989pxb; Fri, 22 Apr 2022 17:04:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxAFAd+N0VnX8X4RU3xtiiifpNz+UTqyLGgFRqIf00o22rVkEcS7/XFQpTfxGZbi5q+wMs3 X-Received: by 2002:a05:6402:348d:b0:424:1a29:327e with SMTP id v13-20020a056402348d00b004241a29327emr7603452edc.36.1650672246128; Fri, 22 Apr 2022 17:04:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650672246; cv=none; d=google.com; s=arc-20160816; b=egdKSucAsNePkNS6uQn6f6fnaM6PrlAT6isOSYwSJ6ZC+uW205rGtXeU/ZA4QlwBg9 9BhmrxkTSATokHc104Y7SjYuL5hz74rprki5gJJuozpkw77/MMAluNsK90kpFk0H9uGj ye1uooFtJ88B6oVpTTcmaJcLFpRPAKQ6NIqZfgZ8rpTs5oHTu7Nz+cwLFFIwVRceLL88 Q3O40n5yZo4xRbyFB95rFKaCE+oGmhgU2UIQv2yT3jIZPVD7ZdcKs7uRPmRoFvNPcRbv 6Xb5hSugiBWW4yPxvAbbpa/i/93rtb9srDpim16Y/D607yfA9a7IjrfFhDdsVibtReEF A8tQ== 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=BUI9kLmvk4ElI6nw5h4HtO4EeoS9hrPrmydqYrMCldE=; b=EbuQuiKhPDNA2QOqGzvvodjv+aTUPA9YgJFTfceSftTgg8eUYlYZNj5IRc4fc/ewcQ uya4Vg/VbDlYCyaW6WNzN2fD3KqSnQvRBAJ2XdI/2AlfnoUJUe1vLwZNqol3p+h98Bsq e515xeiAa3MuWzizCBufyH+cbte195AI5HcmE/2PPPgurJ8Ax9GTOiMThe2TCu3b+yD7 K69t6er8Q//t9qv06krVMwJplQDjFSOMaQg4t07q06hoUqIXHFrlnGD4hhjqzpzxbzQJ iIFKx9QKHq8/gy82w9Lta57y2RaHeL7q19JHGtMU+Ng2UyyQ0JiynZrHmjUDUif9PyJ5 gpEA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f1-20020a170906494100b006e8d683e418si8050861ejt.973.2022.04.22.17.03.41; Fri, 22 Apr 2022 17:04:06 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230470AbiDWAEY (ORCPT + 99 others); Fri, 22 Apr 2022 20:04:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229486AbiDWAEW (ORCPT ); Fri, 22 Apr 2022 20:04:22 -0400 Received: from mail104.syd.optusnet.com.au (mail104.syd.optusnet.com.au [211.29.132.246]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2551CDF83; Fri, 22 Apr 2022 17:01:27 -0700 (PDT) Received: from dread.disaster.area (pa49-181-115-138.pa.nsw.optusnet.com.au [49.181.115.138]) by mail104.syd.optusnet.com.au (Postfix) with ESMTPS id 060F35345C6; Sat, 23 Apr 2022 10:01:22 +1000 (AEST) Received: from dave by dread.disaster.area with local (Exim 4.92.3) (envelope-from ) id 1ni3DF-003Ms4-8J; Sat, 23 Apr 2022 10:01:21 +1000 Date: Sat, 23 Apr 2022 10:01:21 +1000 From: Dave Chinner To: Dan Williams Cc: Christoph Hellwig , Shiyang Ruan , Linux Kernel Mailing List , linux-xfs , Linux NVDIMM , Linux MM , linux-fsdevel , "Darrick J. Wong" , Jane Chu , Andrew Morton , Naoya Horiguchi Subject: Re: [PATCH v13 0/7] fsdax: introduce fs query to support reflink Message-ID: <20220423000121.GH1544202@dread.disaster.area> References: <20220419045045.1664996-1-ruansy.fnst@fujitsu.com> <20220421012045.GR1544202@dread.disaster.area> <86cb0ada-208c-02de-dbc9-53c6014892c3@fujitsu.com> <20220421043502.GS1544202@dread.disaster.area> <20220421074653.GT1544202@dread.disaster.area> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Optus-CM-Score: 0 X-Optus-CM-Analysis: v=2.4 cv=deDjYVbe c=1 sm=1 tr=0 ts=626341d5 a=/kVtbFzwtM2bJgxRVb+eeA==:117 a=/kVtbFzwtM2bJgxRVb+eeA==:17 a=kj9zAlcOel0A:10 a=z0gMJWrwH1QA:10 a=7-415B0cAAAA:8 a=N97b58O49P40uwd1XQkA:9 a=CjuIK1q_8ugA:10 a=biEYGPWJfzWAr4FL6Ov7:22 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS,SPF_NONE autolearn=ham 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 Fri, Apr 22, 2022 at 02:27:32PM -0700, Dan Williams wrote: > On Thu, Apr 21, 2022 at 12:47 AM Dave Chinner wrote: > > > > On Wed, Apr 20, 2022 at 10:54:59PM -0700, Christoph Hellwig wrote: > > > On Thu, Apr 21, 2022 at 02:35:02PM +1000, Dave Chinner wrote: > > > > Sure, I'm not a maintainer and just the stand-in patch shepherd for > > > > a single release. However, being unable to cleanly merge code we > > > > need integrated into our local subsystem tree for integration > > > > testing because a patch dependency with another subsystem won't gain > > > > a stable commit ID until the next merge window is .... distinctly > > > > suboptimal. > > > > > > Yes. Which is why we've taken a lot of mm patchs through other trees, > > > sometimes specilly crafted for that. So I guess in this case we'll > > > just need to take non-trivial dependencies into the XFS tree, and just > > > deal with small merge conflicts for the trivial ones. > > > > OK. As Naoyo has pointed out, the first dependency/conflict Ruan has > > listed looks trivial to resolve. > > > > The second dependency, OTOH, is on a new function added in the patch > > pointed to. That said, at first glance it looks to be independent of > > the first two patches in that series so I might just be able to pull > > that one patch in and have that leave us with a working > > fsdax+reflink tree. > > > > Regardless, I'll wait to see how much work the updated XFS/DAX > > reflink enablement patchset still requires when Ruan posts it before > > deciding what to do here. If it isn't going to be a merge > > candidate, what to do with this patchset is moot because there's > > little to test without reflink enabled... > > I do have a use case for this work absent the reflink work. Recall we > had a conversation about how to communicate "dax-device has been > ripped away from the fs" events and we ended up on the idea of reusing > ->notify_failure(), but with the device's entire logical address range > as the notification span. That will let me unwind and delete the > PTE_DEVMAP infrastructure for taking extra device references to hold > off device-removal. Instead ->notify_failure() arranges for all active > DAX mappings to be invalidated and allow the removal to proceed > especially since physical removal does not care about software pins. Sure. My point is that if the reflink enablement isn't ready to go, then from an XFS POV none of this matters in this cycle and we can just leave the dependencies to commit via Andrew's tree. Hence by the time we get to the reflink enablement all the prior dependencies will have been merged and have stable commit IDs, and we can just stage this series and the reflink enablement as we normally would in the next cycle. However, if we don't get the XFS reflink dax enablement sorted out in the next week or two, then we don't need this patchset in this cycle. Hence if you still need this patchset for other code you need to merge in this cycle, then you're the poor schmuck that has to run the mm-tree conflict guantlet to get a stable commit ID for the dependent patches in this cycle, not me.... Cheers, Dave. -- Dave Chinner david@fromorbit.com