dm: add cache target
Add a target that allows a fast device such as an SSD to be used as a cache for a slower device such as a disk. A plug-in architecture was chosen so that the decisions about which data to migrate and when are delegated to interchangeable tunable policy modules. The first general purpose module we have developed, called "mq" (multiqueue), follows in the next patch. Other modules are under development. Signed-off-by:Joe Thornber <ejt@redhat.com> Signed-off-by:
Heinz Mauelshagen <mauelshagen@redhat.com> Signed-off-by:
Mike Snitzer <snitzer@redhat.com> Signed-off-by:
Alasdair G Kergon <agk@redhat.com>
Showing
- Documentation/device-mapper/cache.txt 243 additions, 0 deletionsDocumentation/device-mapper/cache.txt
- drivers/md/Kconfig 13 additions, 0 deletionsdrivers/md/Kconfig
- drivers/md/Makefile 2 additions, 0 deletionsdrivers/md/Makefile
- drivers/md/dm-bio-prison.c 9 additions, 0 deletionsdrivers/md/dm-bio-prison.c
- drivers/md/dm-bio-prison.h 11 additions, 0 deletionsdrivers/md/dm-bio-prison.h
- drivers/md/dm-cache-block-types.h 54 additions, 0 deletionsdrivers/md/dm-cache-block-types.h
- drivers/md/dm-cache-metadata.c 1146 additions, 0 deletionsdrivers/md/dm-cache-metadata.c
- drivers/md/dm-cache-metadata.h 142 additions, 0 deletionsdrivers/md/dm-cache-metadata.h
- drivers/md/dm-cache-policy-internal.h 124 additions, 0 deletionsdrivers/md/dm-cache-policy-internal.h
- drivers/md/dm-cache-policy.c 161 additions, 0 deletionsdrivers/md/dm-cache-policy.c
- drivers/md/dm-cache-policy.h 228 additions, 0 deletionsdrivers/md/dm-cache-policy.h
- drivers/md/dm-cache-target.c 2584 additions, 0 deletionsdrivers/md/dm-cache-target.c
- drivers/md/persistent-data/dm-block-manager.c 1 addition, 0 deletionsdrivers/md/persistent-data/dm-block-manager.c
Loading
Please register or sign in to comment