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.