OSDN Git Service

dax: introduce CONFIG_DAX_DRIVER
authorDan Williams <dan.j.williams@intel.com>
Fri, 30 Mar 2018 00:20:39 +0000 (17:20 -0700)
committerDan Williams <dan.j.williams@intel.com>
Tue, 3 Apr 2018 12:41:19 +0000 (05:41 -0700)
commit2080e88aecd78773eacbe7d6b9d59968000ba55a
tree884af4d8fa7c875451df94cd82c917338992386e
parentd2c997c0f14535eff68d8ed9c2f1c5e100625751
dax: introduce CONFIG_DAX_DRIVER

In support of allowing device-mapper to compile out idle/dead code when
there are no dax providers in the system, introduce the DAX_DRIVER
symbol. This is selected by all leaf drivers that device-mapper might be
layered on top. This allows device-mapper to conditionally 'select DAX'
only when a provider is present.

Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Reported-by: Bart Van Assche <Bart.VanAssche@wdc.com>
Reviewed-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dax/Kconfig
drivers/nvdimm/Kconfig
drivers/s390/block/Kconfig