From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751805AbdAVQi2 (ORCPT ); Sun, 22 Jan 2017 11:38:28 -0500 Received: from verein.lst.de ([213.95.11.211]:59681 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750884AbdAVQiT (ORCPT ); Sun, 22 Jan 2017 11:38:19 -0500 Date: Sun, 22 Jan 2017 17:29:10 +0100 From: Christoph Hellwig To: Matthew Wilcox Cc: Christoph Hellwig , Dan Williams , "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: <20170122162910.GA5267@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 03:43:09PM +0000, Matthew Wilcox wrote: > In the case of a network filesystem being used to communicate with > a different VM on the same physical machine, there is no backing > device, just a network protocol. Again, do you mean block device? For a filesystem that does not do any pagecache writeback we already don't need a backing device, so I don't really see an issue there to start with. > I'm not terribly enthusiastic about creating a fake block device to > sit on top of a network filesystem, but I suppose we could go that > way if we had to. I see no need to a new network filesystem to have a fake block device. We do need a fake block device for an unchanged or partial DAX aware file system. And those are the only ones we have at the moment, although XFS could be converted to do direct calls bypassing the block layer fairly trivially if needed. For ext2 and ext4 that would be much harder due to the buffer cache dependency.