From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C9726C433FE for ; Wed, 27 Oct 2021 23:37:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A962460232 for ; Wed, 27 Oct 2021 23:37:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229534AbhJ0Xjj (ORCPT ); Wed, 27 Oct 2021 19:39:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbhJ0Xjj (ORCPT ); Wed, 27 Oct 2021 19:39:39 -0400 Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41297C061570 for ; Wed, 27 Oct 2021 16:37:13 -0700 (PDT) Received: by mail-pg1-x52e.google.com with SMTP id c4so4500909pgv.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=IC3bhQ7ke3rHPb7ivB7g4D96dC7iIqJy8CMrwOzlpQigp+V5qe6NjF68kd8m2OToEZ 2he2JkZU3xqo1Vo6/A5gMcv4MD4YB2SIQlTH35VoKYEFWSoszUESpyfzlsDhYukXAXqC D0XFUZ9RjAwIVhNni/0sDxj1T5c4/NcgF1GvBQL9sq4bA/+pLN7SnUWOV9+SuxRzAUEC 92vfaMM5DEQQOPT8UQbwg9xu5igDwIT+DELSTJFLx9bi+WWUcYlYA4nhNjFB5xeJr896 IpJFxJAjd7HvkAg0g+rO7DR2FFToN4bfHJMQlWAwLDmWYSWisxCG3yOhkTUaWRg2xxp0 dkRA== X-Gm-Message-State: AOAM530gTUN/IQ9pN3S1vhNAnfZabIDw9kW3BQ04Sda8/OEBt0FsRvuw JmF8X27h2T3ryVRiCnYt33u6oeBUFWHJVAYBs06UZQ== X-Google-Smtp-Source: ABdhPJxcsU50q4uGsTOaoj9w67NPN0ee0O0WC5tw2bEynUFc2bhlW22w0QMQKH9wvcSAfLnnolzJDk1LCiKsNt9RVYY= 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-fsdevel@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.