]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
dax, dm: allow device-mapper to operate without dax support
authorDan Williams <dan.j.williams@intel.com>
Fri, 30 Mar 2018 00:22:13 +0000 (17:22 -0700)
committerDan Williams <dan.j.williams@intel.com>
Tue, 3 Apr 2018 12:41:19 +0000 (05:41 -0700)
commit976431b02c2ef92ae3f8b6a7d699fc554025e118
treee05121a5ccc869096a1732847f92e4b485106336
parent2080e88aecd78773eacbe7d6b9d59968000ba55a
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>
drivers/md/Kconfig
drivers/md/dm-linear.c
drivers/md/dm-log-writes.c
drivers/md/dm-stripe.c
drivers/md/dm.c
include/linux/dax.h