Re: [RFC PATCH 13/17] fs: update mount_bdev() to lookup dax infrastructure

2017-02-01 Thread Dan Williams
On Wed, Feb 1, 2017 at 12:08 AM, Christoph Hellwig wrote: > On Mon, Jan 30, 2017 at 10:29:12AM -0800, Dan Williams wrote: >> On Mon, Jan 30, 2017 at 4:26 AM, Christoph Hellwig wrote: >> > On Sat, Jan 28, 2017 at 12:37:14AM -0800, Dan Williams wrote: >> >> This is in

Re: [RFC PATCH 13/17] fs: update mount_bdev() to lookup dax infrastructure

2017-02-01 Thread Christoph Hellwig
On Mon, Jan 30, 2017 at 10:29:12AM -0800, Dan Williams wrote: > On Mon, Jan 30, 2017 at 4:26 AM, Christoph Hellwig wrote: > > On Sat, Jan 28, 2017 at 12:37:14AM -0800, Dan Williams wrote: > >> This is in preparation for removing the ->direct_access() method from > >>

Re: [RFC PATCH 13/17] fs: update mount_bdev() to lookup dax infrastructure

2017-01-30 Thread Dan Williams
On Mon, Jan 30, 2017 at 4:26 AM, Christoph Hellwig wrote: > On Sat, Jan 28, 2017 at 12:37:14AM -0800, Dan Williams wrote: >> This is in preparation for removing the ->direct_access() method from >> block_device_operations. > > I don't think mount_bdev has any business knowing about

Re: [RFC PATCH 13/17] fs: update mount_bdev() to lookup dax infrastructure

2017-01-30 Thread Christoph Hellwig
On Sat, Jan 28, 2017 at 12:37:14AM -0800, Dan Williams wrote: > This is in preparation for removing the ->direct_access() method from > block_device_operations. I don't think mount_bdev has any business knowing about DAX. Just call dax_get_by_host manually from the affected file systems for now,

[RFC PATCH 13/17] fs: update mount_bdev() to lookup dax infrastructure

2017-01-28 Thread Dan Williams
This is in preparation for removing the ->direct_access() method from block_device_operations. Signed-off-by: Dan Williams --- fs/block_dev.c |6 -- fs/super.c | 32 +--- include/linux/fs.h |1 + 3 files changed, 34