summaryrefslogtreecommitdiff
path: root/conf/cache-mq.profile
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2015-07-20 16:46:21 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2015-08-12 14:11:16 +0200
commit694c88e031fb44f957c75bea369b898e1dedf932 (patch)
tree9d2ad247164b59d69b29951eb0342d2196a5759f /conf/cache-mq.profile
parent036d90bba6c1ac76195302bc5c7f2f5ce8ad89b4 (diff)
downloadlvm2-694c88e031fb44f957c75bea369b898e1dedf932.tar.gz
cache: introduce mq and smq profiles
Add 2 demo profiles for mq and smq policies. Show all support profilable params. Use with: lvcreate --policy cache-mq ....
Diffstat (limited to 'conf/cache-mq.profile')
-rw-r--r--conf/cache-mq.profile20
1 files changed, 20 insertions, 0 deletions
diff --git a/conf/cache-mq.profile b/conf/cache-mq.profile
new file mode 100644
index 000000000..3c90331d1
--- /dev/null
+++ b/conf/cache-mq.profile
@@ -0,0 +1,20 @@
+# 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"
+ }
+ }
+}