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 X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1A9EFC2BB85 for ; Tue, 14 Apr 2020 06:24:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F3CB62072D for ; Tue, 14 Apr 2020 06:24:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405943AbgDNGYl (ORCPT ); Tue, 14 Apr 2020 02:24:41 -0400 Received: from verein.lst.de ([213.95.11.211]:37617 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405926AbgDNGYe (ORCPT ); Tue, 14 Apr 2020 02:24:34 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id C295B68BEB; Tue, 14 Apr 2020 08:24:31 +0200 (CEST) Date: Tue, 14 Apr 2020 08:24:31 +0200 From: Christoph Hellwig To: Ira Weiny Cc: "Darrick J. Wong" , linux-kernel@vger.kernel.org, Dan Williams , Dave Chinner , Christoph Hellwig , "Theodore Y. Ts'o" , Jan Kara , Jeff Moyer , linux-ext4@vger.kernel.org, linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH V7 4/9] fs/xfs: Make DAX mount option a tri-state Message-ID: <20200414062431.GC23154@lst.de> References: <20200413054046.1560106-1-ira.weiny@intel.com> <20200413054046.1560106-5-ira.weiny@intel.com> <20200413154619.GT6742@magnolia> <20200413192810.GB1649878@iweiny-DESK2.sc.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200413192810.GB1649878@iweiny-DESK2.sc.intel.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 13, 2020 at 12:28:11PM -0700, Ira Weiny wrote: > > I think that the dax_param_enums table (and the unnamed enum defining > > XFS_DAX_*) probably ought to be part of the VFS so that you don't have > > to duplicate these two pieces whenever it's time to bring ext4 in line > > with XFS. > > > > That probably doesn't need to be done right away, though... > > Ext4 has a very different param parsing mechanism which I've barely learned. > I'm not really seeing how to use the enum strategy so I've just used a string > option. But I'm open to being corrected. > > I am close to having the series working and hope to have that set (which builds > on this one) out for review soon (today?). ext4 still uses the legacy mount option parsing that XFS used until recently. It needs to be switched over to the new mount API anyway.