path: root/drivers/md/Makefile
diff options
authorMikulas Patocka <>2011-10-31 20:19:09 +0000
committerAlasdair G Kergon <>2011-10-31 20:19:09 +0000
commit95d402f057f2e208e4631893f6cd4a59c7c05e41 (patch)
tree4edb6c01f62689617ee3098104c135ef2c43f0e2 /drivers/md/Makefile
parent3cf2e4ba74ca1bf5d8ad26cd18592f02b32964f5 (diff)
dm: add bufio
The dm-bufio interface allows you to do cached I/O on devices, holding recently-read blocks in memory and performing delayed writes. We don't use buffer cache or page cache already present in the kernel, because: * we need to handle block sizes larger than a page * we can't allocate memory to perform reads or we'd have deadlocks Currently, when a cache is required, we limit its size to a fraction of available memory. Usage can be viewed and changed in /sys/module/dm_bufio/parameters/ . The first user is thin provisioning, but more dm users are planned. Signed-off-by: Mikulas Patocka <> Signed-off-by: Alasdair G Kergon <>
Diffstat (limited to 'drivers/md/Makefile')
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/Makefile b/drivers/md/Makefile
index 448838b1f92a..56661c4272f2 100644
--- a/drivers/md/Makefile
+++ b/drivers/md/Makefile
@@ -27,6 +27,7 @@ obj-$(CONFIG_MD_MULTIPATH) += multipath.o
obj-$(CONFIG_MD_FAULTY) += faulty.o
obj-$(CONFIG_BLK_DEV_MD) += md-mod.o
obj-$(CONFIG_BLK_DEV_DM) += dm-mod.o
+obj-$(CONFIG_DM_BUFIO) += dm-bufio.o
obj-$(CONFIG_DM_CRYPT) += dm-crypt.o
obj-$(CONFIG_DM_DELAY) += dm-delay.o
obj-$(CONFIG_DM_FLAKEY) += dm-flakey.o