From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f72.google.com (mail-oi0-f72.google.com [209.85.218.72]) by kanga.kvack.org (Postfix) with ESMTP id 0F5B46B0005 for ; Fri, 2 Mar 2018 18:49:47 -0500 (EST) Received: by mail-oi0-f72.google.com with SMTP id t140so5615742oie.11 for ; Fri, 02 Mar 2018 15:49:47 -0800 (PST) Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id z81sor2979268oig.225.2018.03.02.15.49.45 for (Google Transport Security); Fri, 02 Mar 2018 15:49:46 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20180302225734.GE31240@lst.de> References: <151996281307.28483.12343847096989509127.stgit@dwillia2-desk3.amr.corp.intel.com> <20180302221020.GA30722@lst.de> <20180302225734.GE31240@lst.de> From: Dan Williams Date: Fri, 2 Mar 2018 15:49:45 -0800 Message-ID: Subject: Re: [PATCH v5 00/12] vfio, dax: prevent long term filesystem-dax pins and other fixes Content-Type: text/plain; charset="UTF-8" Sender: owner-linux-mm@kvack.org List-ID: To: Christoph Hellwig Cc: linux-nvdimm , linux-xfs , "Darrick J. Wong" , KVM list , Haozhong Zhang , Jane Chu , Alexander Viro , Gerd Rausch , stable , Jan Kara , Michal Hocko , Andreas Dilger , Ross Zwisler , Matthew Wilcox , linux-fsdevel , Alex Williamson , Theodore Ts'o , Linux MM , Linux Kernel Mailing List On Fri, Mar 2, 2018 at 2:57 PM, Christoph Hellwig wrote: > On Fri, Mar 02, 2018 at 02:21:40PM -0800, Dan Williams wrote: >> They are indeed a hodge-podge. The problem is that the current >> IS_DAX() is broken. So I'd like to propose fixing IS_DAX() with >> IS_FSDAX() + IS_DEVDAX() for 4.16-rc4 and queue up these wider reworks >> you propose for the next merge window. > > The only thing broken about IS_DAX are the code elimination games > based on the CONFIG_* flags. Remove those and just add proper stubs > for the dax routines and everything will be fine for now until we can > kill that inode flag. > > IS_FSDAX and IS_DEVDAX on the other hand are a giant mess that isn't > helping anyone. Ok, I'll take another shot at something suitable for 4.16, but without these new helpers... -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org