]> git.baikalelectronics.ru Git - 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)
commita223f22d4eab0544110e3b7e06af2eb42a8da3be
treee05121a5ccc869096a1732847f92e4b485106336
parentea645cd67d103959a4114d50c0aa5e5aef4ac39f
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