]> git.baikalelectronics.ru Git - kernel.git/commit
dm: add cache target
authorJoe Thornber <ejt@redhat.com>
Fri, 1 Mar 2013 22:45:51 +0000 (22:45 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 1 Mar 2013 22:45:51 +0000 (22:45 +0000)
commit7dc177ed8388235070e6acbe37ccb381624c9a43
tree1fb20e6ca157ebfbf2c97ae022fc6ba3e0550dd6
parent93066de06f08872c4e0fc39f0f07abe73cd2b17f
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>
13 files changed:
Documentation/device-mapper/cache.txt [new file with mode: 0644]
drivers/md/Kconfig
drivers/md/Makefile
drivers/md/dm-bio-prison.c
drivers/md/dm-bio-prison.h
drivers/md/dm-cache-block-types.h [new file with mode: 0644]
drivers/md/dm-cache-metadata.c [new file with mode: 0644]
drivers/md/dm-cache-metadata.h [new file with mode: 0644]
drivers/md/dm-cache-policy-internal.h [new file with mode: 0644]
drivers/md/dm-cache-policy.c [new file with mode: 0644]
drivers/md/dm-cache-policy.h [new file with mode: 0644]
drivers/md/dm-cache-target.c [new file with mode: 0644]
drivers/md/persistent-data/dm-block-manager.c