Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp980450pxb; Wed, 27 Oct 2021 16:37:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDSOXV/fiuiDjYP+NHjyxMdFBmLzrS4ay2MbKxphICZ/AzQ0RZJMUhOYs95QD0CkdNmUO6 X-Received: by 2002:aa7:9427:0:b0:47c:3b8e:5253 with SMTP id y7-20020aa79427000000b0047c3b8e5253mr815504pfo.69.1635377860309; Wed, 27 Oct 2021 16:37:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635377860; cv=none; d=google.com; s=arc-20160816; b=B5elqOx2VBkE6Pnw+ufQ3jVCvc/VCOYLMg6XwI/5kDRqO745Rlm+tW8EXfIKIGG5Mx H43I07/GIRLbkbzgcuqaH8AjxtylNzmxSRINM6tuXb++XMAtM04J/X8Q6UL88ezWv3Za Cbb0rnp+RmVIm74g76Uz+NLqZexcZNkm/IhOdB3POC6x3zXehw1ANEdgdfMApPEnidzl nXb1zZD8R2Il/7vPx/JinpLfZWiepLlr95pm8ZbQzENjEBDSKCQdYV2KIfB/Cm1bg6Dp xkE3DHvSq4iraqH66Dh4ulrvchUYNKUVI/uA33UZwdF3crsIn9EBjRcYyQgISBJjHxQg VD0A== 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=WMTMh4JidQFbMhcZT2VkZGNAi1C8CcA8jtm6BrftSss=; b=LtrQPtgygEVTkYPuwYnyQNGw7qFt/eW7W+vhpGgTmd/Ti9p/gnP+8jpojCQ1sl0fxR vwk4laZPUhEX/t7uHJPSRbkbZic+84DyMsqX1TGeQxpv+bJ93nhVn+Fmlc06UflcsIaW 0NpHwEtiZ6C5LEg7kAw5f8hDN9v+llFTxZkh2vk56tXiwLToUnTbMbVR9nLv1S43ee7u 6tg47z6STBpitR02ROvmrUgoI8VLKjI2DssmulT1uOHWnIY/AQygT2I5gsDHR0W4ixSH dN4FMs6D8yhalrTRhpqggLX9Mq0TECX4bGHu++nKCR/Z2654nPbRKYJW88IB7gdSJruK MNhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20210112.gappssmtp.com header.s=20210112 header.b=6OnySiys; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-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 h127si1770214pfg.273.2021.10.27.16.37.18; Wed, 27 Oct 2021 16:37:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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.20210112.gappssmtp.com header.s=20210112 header.b=6OnySiys; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-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 S229537AbhJ0Xjj (ORCPT + 99 others); Wed, 27 Oct 2021 19:39:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229486AbhJ0Xjj (ORCPT ); Wed, 27 Oct 2021 19:39:39 -0400 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 428ACC061745 for ; Wed, 27 Oct 2021 16:37:13 -0700 (PDT) Received: by mail-pf1-x430.google.com with SMTP id a26so4172399pfr.11 for ; Wed, 27 Oct 2021 16:37:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WMTMh4JidQFbMhcZT2VkZGNAi1C8CcA8jtm6BrftSss=; b=6OnySiysF1hhuv+2jxJ9FfAfSmA8y9LXelAKat7WynBZQg+6PZ/Y6CL3zM18cMG3JD GEnUquiuE3quJvpTuotuNPBGhT162UmD7avG0jDOAcziSvLYUVDywCngB4p3fQ58ZM0M zEqOMtq2uc82z3Hyo8SHcJ4wrgy4SICUQMJg3EUzEQ97cTDTxpAJL+ZjXMrC9Pd6Yd4I Hv+o6S8B5+bjhFZmSyXmvoK3vkD+a/tR7V2R1bzY3az6V1C7tt1S3O/yFi5MScIMNOJo whD2gxewZ5pTPcAORmeXbNAMaeToO/lIBwIX5Bv5eefUsLjTlEzVx3onl1Zq5iL+vzm0 cGOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WMTMh4JidQFbMhcZT2VkZGNAi1C8CcA8jtm6BrftSss=; b=Y6Ob0G78y1EEYVH1hDdbIYhp+2Tz61PP5vIuhjGgCMLr2MuV7q4rcY+I7C2vG6bqdW HW98wc1RPCsSKVOtURDBJhLXfnv0zzRGXChvBPbgzFSaNOd2GZo2i56x6mb1OJpRDoyz 2G6sbkE4nWDVDtAUdTMqG+6qd40tGc21d3lVWn4WcqwYPtZQI7VOo2m5YpFugNusz3FM HQN8B3JWG63kEqj6gk6GphK6CXI5YYck4H/hUUrqmi+57y+vK+9Jy24oXSv69F4fFAVg i65vKiEdUDZHH2h66AMaqo0r6J9yfbI5skA10Rkcw5qQqqJEiGFg+snyVL61BVrr2ruQ dTAQ== X-Gm-Message-State: AOAM531D1GL18YR1cLvWvccjIHxdQrgbPMXNnfvhdjFNNkBXmqhRsEBI OSu92SV+3lWMQelhgLJXfCJgYU//B0YRRYcbfv05eg== X-Received: by 2002:a63:1e0e:: with SMTP id e14mr608862pge.5.1635377832818; Wed, 27 Oct 2021 16:37:12 -0700 (PDT) MIME-Version: 1.0 References: <20211018044054.1779424-1-hch@lst.de> <20211018044054.1779424-7-hch@lst.de> <20211018164351.GT24307@magnolia> <20211019072326.GA23171@lst.de> In-Reply-To: <20211019072326.GA23171@lst.de> From: Dan Williams Date: Wed, 27 Oct 2021 16:37:01 -0700 Message-ID: Subject: Re: [PATCH 06/11] xfs: factor out a xfs_setup_dax helper To: Christoph Hellwig Cc: "Darrick J. Wong" , Mike Snitzer , Ira Weiny , device-mapper development , linux-xfs , Linux NVDIMM , linux-s390 , linux-fsdevel , linux-erofs@lists.ozlabs.org, linux-ext4 , virtualization@lists.linux-foundation.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Tue, Oct 19, 2021 at 12:24 AM Christoph Hellwig wrote: > > On Mon, Oct 18, 2021 at 09:43:51AM -0700, Darrick J. Wong wrote: > > > --- a/fs/xfs/xfs_super.c > > > +++ b/fs/xfs/xfs_super.c > > > @@ -339,6 +339,32 @@ xfs_buftarg_is_dax( > > > bdev_nr_sectors(bt->bt_bdev)); > > > } > > > > > > +static int > > > +xfs_setup_dax( > > > > /me wonders if this should be named xfs_setup_dax_always, since this > > doesn't handle the dax=inode mode? > > Sure, why not. I went ahead and made that change locally. > > > The only reason I bring that up is that Eric reminded me a while ago > > that we don't actually print any kind of EXPERIMENTAL warning for the > > auto-detection behavior. > > Yes, I actually noticed that as well when preparing this series. The rest looks good to me.