On Thu, Aug 24, 2017 at 11:24:10PM -0700, Dan Williams wrote: > This would also fix the bug I just realized was in these patches > around matching dax_get_by_host() with put_dax(). In fact, if it's > acceptable to hang a dax_dev off a gendisk then we don't need > dax_get_by_host() at all. I want to get the block code out of the loop entirely. I'm a little overloaded with work at the moment, but my plan was to add a mount_dax equivalent to mount_bdev, and add support to the XFS buffer cache and log code to go straight to DAX. For the buffer cache we'd still have to double buffer to provide transaction gurantees, but for the log formatting it directly to memory should also provide nice speedups.