From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751413AbdAWQBG (ORCPT ); Mon, 23 Jan 2017 11:01:06 -0500 Received: from verein.lst.de ([213.95.11.211]:43218 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750738AbdAWQBF (ORCPT ); Mon, 23 Jan 2017 11:01:05 -0500 Date: Mon, 23 Jan 2017 17:01:03 +0100 From: Christoph Hellwig To: Dan Williams Cc: Christoph Hellwig , Matthew Wilcox , "linux-nvdimm@lists.01.org" , Brian Boylston , Tony Luck , Jan Kara , Toshi Kani , Mike Snitzer , "linux-kernel@vger.kernel.org" , "x86@kernel.org" , Jeff Moyer , Jens Axboe , "dm-devel@redhat.com" , Ingo Molnar , Al Viro , "H. Peter Anvin" , "linux-fsdevel@vger.kernel.org" , Thomas Gleixner , Linus Torvalds , Ross Zwisler Subject: Re: [PATCH 00/13] dax, pmem: move cpu cache maintenance to libnvdimm Message-ID: <20170123160103.GC517@lst.de> References: <148488421301.37913.12835362165895864897.stgit@dwillia2-desk3.amr.corp.intel.com> <20170121175212.GA28180@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jan 22, 2017 at 09:30:23AM -0800, Dan Williams wrote: > So are you saying we need a way to go from a block_device inode to a > dax_device inode and then look up the dax_operations from there? > > A filesystem, if it so chooses, could mount on top of the dax_device > inode directly? Sentence 1: maybe if we have to. Sentence 2: absolutely. > I did add a dax_superblock for the device-dax character device > representation I could refactor that so the block_device presentation > of a namespace and a character device presentation are just different > layers on top of the base-level dax inode. That's a good start.