diff options
author | Dan Williams <dan.j.williams@intel.com> | 2018-03-29 17:22:13 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2018-04-03 05:41:19 -0700 |
commit | 976431b02c2ef92ae3f8b6a7d699fc554025e118 (patch) | |
tree | e05121a5ccc869096a1732847f92e4b485106336 /drivers/md/Kconfig | |
parent | 2080e88aecd78773eacbe7d6b9d59968000ba55a (diff) | |
download | talos-obmc-linux-976431b02c2ef92ae3f8b6a7d699fc554025e118.tar.gz talos-obmc-linux-976431b02c2ef92ae3f8b6a7d699fc554025e118.zip |
dax, dm: allow device-mapper to operate without dax support
Change device-mapper's DAX dependency to require the presence of at
least one DAX_DRIVER. This allows device-mapper to be built without
bringing the DAX core along which is especially wasteful when there are
no DAX drivers, like BLK_DEV_PMEM, configured.
Cc: Alasdair Kergon <agk@redhat.com>
Reported-by: Bart Van Assche <Bart.VanAssche@wdc.com>
Reported-by: kbuild test robot <lkp@intel.com>
Reported-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/md/Kconfig')
-rw-r--r-- | drivers/md/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig index 2c8ac3688815..edff083f7c4e 100644 --- a/drivers/md/Kconfig +++ b/drivers/md/Kconfig @@ -201,7 +201,7 @@ config BLK_DEV_DM_BUILTIN config BLK_DEV_DM tristate "Device mapper support" select BLK_DEV_DM_BUILTIN - select DAX + depends on DAX || DAX=n ---help--- Device-mapper is a low level volume manager. It works by allowing people to specify mappings for ranges of logical sectors. Various |