mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-25 01:34:38 +03:00
694c88e031
Add 2 demo profiles for mq and smq policies. Show all support profilable params. Use with: lvcreate --policy cache-mq ....
21 lines
531 B
Plaintext
21 lines
531 B
Plaintext
# Demo configuration 'mq' cache policy
|
|
#
|
|
# Note: This policy has been deprecated in favor of the smq policy
|
|
# keyword "default" means, setting is left with kernel defaults.
|
|
#
|
|
|
|
allocation {
|
|
cache_pool_chunk_size = 64
|
|
cache_mode = "writethrough"
|
|
cache_policy = "mq"
|
|
cache_settings {
|
|
mq {
|
|
sequential_threshold = "default" # #nr_sequential_ios
|
|
random_threshold = "default" # #nr_random_ios
|
|
read_promote_adjustment = "default"
|
|
write_promote_adjustment = "default"
|
|
discard_promote_adjustment = "default"
|
|
}
|
|
}
|
|
}
|