diff options
author | Joe Thornber <ejt@redhat.com> | 2013-03-01 17:45:51 -0500 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2013-03-01 17:45:51 -0500 |
commit | c6b4fcbad044e6fffcc75bba160e720eb8d67d17 (patch) | |
tree | 1fb20e6ca157ebfbf2c97ae022fc6ba3e0550dd6 /drivers/md/Kconfig | |
parent | 7a87edfee75151abb69d47dba2277ff2de0f6071 (diff) |
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>
Diffstat (limited to 'drivers/md/Kconfig')
-rw-r--r-- | drivers/md/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig index 7cdf359d6b23..1a4fbcdb5ca2 100644 --- a/drivers/md/Kconfig +++ b/drivers/md/Kconfig | |||
@@ -268,6 +268,19 @@ config DM_DEBUG_BLOCK_STACK_TRACING | |||
268 | 268 | ||
269 | If unsure, say N. | 269 | If unsure, say N. |
270 | 270 | ||
271 | config DM_CACHE | ||
272 | tristate "Cache target (EXPERIMENTAL)" | ||
273 | depends on BLK_DEV_DM | ||
274 | default n | ||
275 | select DM_PERSISTENT_DATA | ||
276 | select DM_BIO_PRISON | ||
277 | ---help--- | ||
278 | dm-cache attempts to improve performance of a block device by | ||
279 | moving frequently used data to a smaller, higher performance | ||
280 | device. Different 'policy' plugins can be used to change the | ||
281 | algorithms used to select which blocks are promoted, demoted, | ||
282 | cleaned etc. It supports writeback and writethrough modes. | ||
283 | |||
271 | config DM_MIRROR | 284 | config DM_MIRROR |
272 | tristate "Mirror target" | 285 | tristate "Mirror target" |
273 | depends on BLK_DEV_DM | 286 | depends on BLK_DEV_DM |