On Fri, Aug 11, 2017 at 10:08:47AM -0700, Matthew Wilcox wrote: > Assuming there's something fun we can do with filesystems that's > interesting to this type of user, what do you think to this: > > Create a block device (maybe it's a loop device, maybe it's dm-raid0) > which supports DAX and uses the page cache to cache the physical pages > of the block device it's fronting. Why not make every block device just support fake DAX and avoid the additional layer? Basically this would be going back to a file cache indexed by physical blocks from our logically indexed page cache model. And for a fs using heavy reflinks that's probably the right model in the end.