summaryrefslogtreecommitdiffstats
path: root/drivers/md/Kconfig
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2012-10-12 22:02:13 +0200
committerAlasdair G Kergon <agk@redhat.com>2012-10-12 22:02:13 +0200
commit4f81a4176297db57c7ef3b2893092dd837c1e2a8 (patch)
tree80a52e60b29377dc82c7f4c902ca0053479d6909 /drivers/md/Kconfig
parentdm thin: prepare to separate bio_prison code (diff)
downloadlinux-4f81a4176297db57c7ef3b2893092dd837c1e2a8.tar.xz
linux-4f81a4176297db57c7ef3b2893092dd837c1e2a8.zip
dm thin: move bio_prison code to separate module
The bio prison code will be useful to other future DM targets so move it to a separate module. Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/Kconfig')
-rw-r--r--drivers/md/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig
index d949b781f6f8..91a02eeeb319 100644
--- a/drivers/md/Kconfig
+++ b/drivers/md/Kconfig
@@ -216,6 +216,13 @@ config DM_BUFIO
as a cache, holding recently-read blocks in memory and performing
delayed writes.
+config DM_BIO_PRISON
+ tristate
+ depends on BLK_DEV_DM && EXPERIMENTAL
+ ---help---
+ Some bio locking schemes used by other device-mapper targets
+ including thin provisioning.
+
source "drivers/md/persistent-data/Kconfig"
config DM_CRYPT
@@ -247,6 +254,7 @@ config DM_THIN_PROVISIONING
tristate "Thin provisioning target (EXPERIMENTAL)"
depends on BLK_DEV_DM && EXPERIMENTAL
select DM_PERSISTENT_DATA
+ select DM_BIO_PRISON
---help---
Provides thin provisioning and snapshots that share a data store.