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>
Showing
- Documentation/device-mapper/era.txt 108 additions, 0 deletionsDocumentation/device-mapper/era.txt
- drivers/md/Kconfig 11 additions, 0 deletionsdrivers/md/Kconfig
- drivers/md/Makefile 2 additions, 0 deletionsdrivers/md/Makefile
- drivers/md/dm-era-target.c 1730 additions, 0 deletionsdrivers/md/dm-era-target.c
Documentation/device-mapper/era.txt
0 → 100644
drivers/md/dm-era-target.c
0 → 100644
This diff is collapsed.
Please register or sign in to comment