summaryrefslogtreecommitdiffstats
path: root/drivers/dax/Kconfig
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2016-07-25 00:55:42 +0200
committerDan Williams <dan.j.williams@intel.com>2016-08-24 07:58:51 +0200
commitba09c01d2fa866f22e42ac2af405fe386f491879 (patch)
treec0028867440d5d50709bf787221bb4c64f29586b /drivers/dax/Kconfig
parentdax: embed a struct device in dax_dev (diff)
downloadlinux-ba09c01d2fa866f22e42ac2af405fe386f491879.tar.xz
linux-ba09c01d2fa866f22e42ac2af405fe386f491879.zip
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/Kconfig5
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