summaryrefslogtreecommitdiffstats
path: root/drivers/s390/block
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2018-03-29 17:20:39 -0700
committerDan Williams <dan.j.williams@intel.com>2018-04-03 05:41:19 -0700
commit2080e88aecd78773eacbe7d6b9d59968000ba55a (patch)
tree884af4d8fa7c875451df94cd82c917338992386e /drivers/s390/block
parentd2c997c0f14535eff68d8ed9c2f1c5e100625751 (diff)
downloadlinux-2080e88aecd78773eacbe7d6b9d59968000ba55a.tar.gz
linux-2080e88aecd78773eacbe7d6b9d59968000ba55a.tar.bz2
linux-2080e88aecd78773eacbe7d6b9d59968000ba55a.zip
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>
Diffstat (limited to 'drivers/s390/block')
-rw-r--r--drivers/s390/block/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/block/Kconfig b/drivers/s390/block/Kconfig
index 1444333210c7..9ac7574e3cfb 100644
--- a/drivers/s390/block/Kconfig
+++ b/drivers/s390/block/Kconfig
@@ -15,8 +15,8 @@ config BLK_DEV_XPRAM
config DCSSBLK
def_tristate m
- select DAX
select FS_DAX_LIMITED
+ select DAX_DRIVER
prompt "DCSSBLK support"
depends on S390 && BLOCK
help