diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-07-24 15:55:42 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-08-23 22:58:51 -0700 |
commit | ba09c01d2fa866f22e42ac2af405fe386f491879 (patch) | |
tree | c0028867440d5d50709bf787221bb4c64f29586b /drivers/dax/Kconfig | |
parent | ebd84d724c85f22037a5c9cb04b9e6631309cb78 (diff) | |
download | linux-ba09c01d2fa866f22e42ac2af405fe386f491879.tar.bz2 |
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>
Diffstat (limited to 'drivers/dax/Kconfig')
-rw-r--r-- | drivers/dax/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/dax/Kconfig b/drivers/dax/Kconfig index cedab7572de3..daadd20aa936 100644 --- a/drivers/dax/Kconfig +++ b/drivers/dax/Kconfig @@ -23,4 +23,9 @@ config DEV_DAX_PMEM Say Y if unsure +config NR_DEV_DAX + int "Maximum number of Device-DAX instances" + default 32768 + range 256 2147483647 + endif |