[PATCH 0/7] dax: unified host inode for device-dax mappings

2016-08-15 Thread Dan Williams
There are two scenarios where we need mappings of a /dev/dax device to
share a single host inode, invalidating mappings at device shutdown, and
coordinating resize of an actively mapped device.  This series addresses
the unmap-on-shutdown case and includes reworks, like the cdev api
conversion, to prepare for a dynamic resize / allocation capability.

Recall that device-DAX, introduced in v4.7 [1], is a mechanism to
provide deterministic mapping behavior for performance- /
feature-differentiated memory ranges.

[1]: 
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ab68f2622136

---

Dan Williams (7):
  dax: cleanup needlessly global symbol warnings
  dax: reorder dax_fops function definitions
  dax: rename fops from dax_dev_ to dax_
  dax: embed a struct device in dax_dev
  dax: convert to the cdev api
  dax: define a unified inode/address_space for device-dax mappings
  dax: unmap/truncate on device shutdown


 drivers/dax/Kconfig|5 
 drivers/dax/dax.c  |  555 ++--
 drivers/dax/pmem.c |2 
 fs/char_dev.c  |1 
 include/uapi/linux/magic.h |1 
 5 files changed, 337 insertions(+), 227 deletions(-)


[PATCH 0/7] dax: unified host inode for device-dax mappings

2016-08-15 Thread Dan Williams
There are two scenarios where we need mappings of a /dev/dax device to
share a single host inode, invalidating mappings at device shutdown, and
coordinating resize of an actively mapped device.  This series addresses
the unmap-on-shutdown case and includes reworks, like the cdev api
conversion, to prepare for a dynamic resize / allocation capability.

Recall that device-DAX, introduced in v4.7 [1], is a mechanism to
provide deterministic mapping behavior for performance- /
feature-differentiated memory ranges.

[1]: 
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ab68f2622136

---

Dan Williams (7):
  dax: cleanup needlessly global symbol warnings
  dax: reorder dax_fops function definitions
  dax: rename fops from dax_dev_ to dax_
  dax: embed a struct device in dax_dev
  dax: convert to the cdev api
  dax: define a unified inode/address_space for device-dax mappings
  dax: unmap/truncate on device shutdown


 drivers/dax/Kconfig|5 
 drivers/dax/dax.c  |  555 ++--
 drivers/dax/pmem.c |2 
 fs/char_dev.c  |1 
 include/uapi/linux/magic.h |1 
 5 files changed, 337 insertions(+), 227 deletions(-)