dax: convert to the cdev api
authorDan Williams <dan.j.williams@intel.com>
Sun, 24 Jul 2016 22:55:42 +0000 (15:55 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 24 Aug 2016 05:58:51 +0000 (22:58 -0700)
commitba09c01d2fa866f22e42ac2af405fe386f491879
treec0028867440d5d50709bf787221bb4c64f29586b
parentebd84d724c85f22037a5c9cb04b9e6631309cb78
dax: convert to the cdev api

A goal of the device-DAX interface is to be able to support many
exclusive allocations (partitions) of performance / feature
differentiated memory.  This count may exceed the default minors limit
of 256.

As a result of switching to an embedded cdev the inode-to-dax_dev
conversion is simplified, as well as reference counting which can switch
to the cdev kobject lifetime.

Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dax/Kconfig
drivers/dax/dax.c