diff options
author | Joe Thornber <ejt@redhat.com> | 2014-03-03 10:23:15 -0500 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2014-03-27 16:56:23 -0400 |
commit | eec40579d84873dfb7021eb24c50360f073237c5 (patch) | |
tree | a294d43a2029ab02ceeab33396e7c948e374a571 /drivers/md/Makefile | |
parent | b098d6726bbfb94c06d6e1097466187afddae61f (diff) |
dm: add era target
dm-era is a target that behaves similar to the linear target. In
addition it keeps track of which blocks were written within a user
defined period of time called an 'era'. Each era target instance
maintains the current era as a monotonically increasing 32-bit
counter.
Use cases include tracking changed blocks for backup software, and
partially invalidating the contents of a cache to restore cache
coherency after rolling back a vendor snapshot.
dm-era is primarily expected to be paired with the dm-cache target.
Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/Makefile')
-rw-r--r-- | drivers/md/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/md/Makefile b/drivers/md/Makefile index f26d83292579..a2da532b1c2b 100644 --- a/drivers/md/Makefile +++ b/drivers/md/Makefile | |||
@@ -14,6 +14,7 @@ dm-thin-pool-y += dm-thin.o dm-thin-metadata.o | |||
14 | dm-cache-y += dm-cache-target.o dm-cache-metadata.o dm-cache-policy.o | 14 | dm-cache-y += dm-cache-target.o dm-cache-metadata.o dm-cache-policy.o |
15 | dm-cache-mq-y += dm-cache-policy-mq.o | 15 | dm-cache-mq-y += dm-cache-policy-mq.o |
16 | dm-cache-cleaner-y += dm-cache-policy-cleaner.o | 16 | dm-cache-cleaner-y += dm-cache-policy-cleaner.o |
17 | dm-era-y += dm-era-target.o | ||
17 | md-mod-y += md.o bitmap.o | 18 | md-mod-y += md.o bitmap.o |
18 | raid456-y += raid5.o | 19 | raid456-y += raid5.o |
19 | 20 | ||
@@ -53,6 +54,7 @@ obj-$(CONFIG_DM_VERITY) += dm-verity.o | |||
53 | obj-$(CONFIG_DM_CACHE) += dm-cache.o | 54 | obj-$(CONFIG_DM_CACHE) += dm-cache.o |
54 | obj-$(CONFIG_DM_CACHE_MQ) += dm-cache-mq.o | 55 | obj-$(CONFIG_DM_CACHE_MQ) += dm-cache-mq.o |
55 | obj-$(CONFIG_DM_CACHE_CLEANER) += dm-cache-cleaner.o | 56 | obj-$(CONFIG_DM_CACHE_CLEANER) += dm-cache-cleaner.o |
57 | obj-$(CONFIG_DM_ERA) += dm-era.o | ||
56 | 58 | ||
57 | ifeq ($(CONFIG_DM_UEVENT),y) | 59 | ifeq ($(CONFIG_DM_UEVENT),y) |
58 | dm-mod-objs += dm-uevent.o | 60 | dm-mod-objs += dm-uevent.o |