Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1469228pxb; Fri, 26 Feb 2021 11:27:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJws9K/Y7jbW7yBjIXjdW2EluVUW6qFvaY7g07bHpFOklo43QgjLDlBCgi+3btZoU5NWvogC X-Received: by 2002:a05:6402:78e:: with SMTP id d14mr5051867edy.171.1614367640833; Fri, 26 Feb 2021 11:27:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614367640; cv=none; d=google.com; s=arc-20160816; b=dhy8Az6ZpfE65EIuBggTaCkYv/GJvLEIq02K/KYx9Jyj7PTCnmPlBAUZE/yi4rQVPz iiI9oahH9lo+1ygjCMEVlBgY3QvORGKJS12m3Pwk3znCwhBVUdawJeop2mALlntGjqqg PNZg+7WLEL5xorRWWgNvwhW3sB2b0ZqWKInyHaeW0ZsDF5++tya8e6CzyvYvPRjpRTSg fG5JkPN/7eZWFgCCjCq2ZxfWCwglB6FU+10U4muqhI4vlss/YjKPeD+qBNuuNGZ49w0y 96cekrCamSqjDeQYXbg//yB38WjzsmL7lu7HXwbP8phBIb/vVbM41gvfa6/kwUejYdI6 An2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=AdceXkUat0y3I1W10TQaOb2nva8EpX5XfJ5IibDVBuM=; b=cPns8FcNST/1+sbWvOGhkH5vJSbL6wO6uIKykjrn6t2lXdTAmwcWuvlPn4/eEM39CJ z45hURMj1V5+6DmoKKxQBLWvI2pJ93y/0Y86/VgesQfB0LhjpYZR3iF7po2n0q3EfFWd HuzapQYmKcvqrLgJCHYwh/hEUulC3q9IzuMaU1YTndmdVLw7DC47/202BBWiBkNZLzUC m3HZuMPZEV7OGOtdhvpURwKOUWMz11TWifrMr6QekW8pDeP0cxxpGMgQ5ArATQu0dJkh v1uXYUZjff8k4lpwpGOVg4ZHzkCnyK8zU12ZREGGRENMe2RQwO3NReiLQaAbbwNu7sFT EZEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=DPa6Vh39; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c1si5514050edq.252.2021.02.26.11.26.57; Fri, 26 Feb 2021 11:27:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=DPa6Vh39; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230207AbhBZTZt (ORCPT + 99 others); Fri, 26 Feb 2021 14:25:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229698AbhBZTZq (ORCPT ); Fri, 26 Feb 2021 14:25:46 -0500 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39259C061756 for ; Fri, 26 Feb 2021 11:25:06 -0800 (PST) Received: by mail-ej1-x62a.google.com with SMTP id do6so16655377ejc.3 for ; Fri, 26 Feb 2021 11:25:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AdceXkUat0y3I1W10TQaOb2nva8EpX5XfJ5IibDVBuM=; b=DPa6Vh392csOE5ijiNRTWgG7GUi3kKjY8LOBEhxF6H7gF7J8KahKgnxLlU4iYgfSeY Pbs8Vc17TTolZLRSHhw5iCYfpNtd2t1xcYFFKQ3fO0G0P2fg3i+ZYVYW+wfvE3qrVPet 2E/m7gPkNFcdJheH9N9j50LssiHOaF6yNI0g6wZFo6yWh/hSm23Riv3KyIzgVx7k/Ls4 o1Y4ydnYLrl3SjoziD977quqS+lhcudZ1ex+w4C30hrZA/3+lOd2xJK7KGuApblCVUbP zyMwzpY2cHE2rR0/qLP0kT+5zg0IYM1Io+3P8b8kf1zp5BxfcTw8rv+QxLhplFhOrvcR Yw/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AdceXkUat0y3I1W10TQaOb2nva8EpX5XfJ5IibDVBuM=; b=BmCrYi7YLW1k9CX80ULDeTDJ6C3fJH55JHdNwuk6+S+d9letYBUV06LR41PRuBxZjl O6X873aWVKB3ymfsZa8pjeSV0FxIU4W3Bo2oFo6yn3/r7oU/3O+EoTDu1gqk/p3qU5fO wv5ySc5tkGzBpDlXMTfm7Xw8ZbKPCgifad/4AGfsq71e3mWxiBcSaftQ0K2nTNCnHyy6 N9tP9vGcQkd6bZVuLayykP0H0Noi3asX/YsehLmRq5+F9FTz92lxSoIXFvEBbkAy88Ol 6+ivacoJHAYVIvBMH/SsTtHGgHF3F6sDXc1J5g/x5fbgwE2dhmOHdqQnUdY63fLvxUYF PMfQ== X-Gm-Message-State: AOAM533klFA4Ddwdqf3wykal6XjMfV71s3Tf9PR0shAry8GZqHyMwcDA 0coRQqO6yXti+7qkSSSJ6yR9ouzypuYmNs2Y9U1xdA== X-Received: by 2002:a17:906:6088:: with SMTP id t8mr5106839ejj.323.1614367504798; Fri, 26 Feb 2021 11:25:04 -0800 (PST) MIME-Version: 1.0 References: <20210226002030.653855-1-ruansy.fnst@fujitsu.com> <20210226190454.GD7272@magnolia> In-Reply-To: <20210226190454.GD7272@magnolia> From: Dan Williams Date: Fri, 26 Feb 2021 11:24:53 -0800 Message-ID: Subject: Re: Question about the "EXPERIMENTAL" tag for dax in XFS To: "Darrick J. Wong" Cc: "ruansy.fnst@fujitsu.com" , "linux-kernel@vger.kernel.org" , "linux-xfs@vger.kernel.org" , "linux-nvdimm@lists.01.org" , "linux-fsdevel@vger.kernel.org" , "darrick.wong@oracle.com" , "willy@infradead.org" , "jack@suse.cz" , "viro@zeniv.linux.org.uk" , "linux-btrfs@vger.kernel.org" , "ocfs2-devel@oss.oracle.com" , "david@fromorbit.com" , "hch@lst.de" , "rgoldwyn@suse.de" , "y-goto@fujitsu.com" , "qi.fuli@fujitsu.com" , "fnstml-iaas@cn.fujitsu.com" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 26, 2021 at 11:05 AM Darrick J. Wong wrote: > > On Fri, Feb 26, 2021 at 09:45:45AM +0000, ruansy.fnst@fujitsu.com wrote: > > Hi, guys > > > > Beside this patchset, I'd like to confirm something about the > > "EXPERIMENTAL" tag for dax in XFS. > > > > In XFS, the "EXPERIMENTAL" tag, which is reported in waring message > > when we mount a pmem device with dax option, has been existed for a > > while. It's a bit annoying when using fsdax feature. So, my initial > > intention was to remove this tag. And I started to find out and solve > > the problems which prevent it from being removed. > > > > As is talked before, there are 3 main problems. The first one is "dax > > semantics", which has been resolved. The rest two are "RMAP for > > fsdax" and "support dax reflink for filesystem", which I have been > > working on. > > > > > So, what I want to confirm is: does it means that we can remove the > > "EXPERIMENTAL" tag when the rest two problem are solved? > > Yes. I'd keep the experimental tag for a cycle or two to make sure that > nothing new pops up, but otherwise the two patchsets you've sent close > those two big remaining gaps. Thank you for working on this! > > > Or maybe there are other important problems need to be fixed before > > removing it? If there are, could you please show me that? > > That remains to be seen through QA/validation, but I think that's it. > > Granted, I still have to read through the two patchsets... I've been meaning to circle back here as well. My immediate concern is the issue Jason recently highlighted [1] with respect to invalidating all dax mappings when / if the device is ripped out from underneath the fs. I don't think that will collide with Ruan's implementation, but it does need new communication from driver to fs about removal events. [1]: http://lore.kernel.org/r/CAPcyv4i+PZhYZiePf2PaH0dT5jDfkmkDX-3usQy1fAhf6LPyfw@mail.gmail.com