]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: 2q by default
authorSage Weil <sage@redhat.com>
Sun, 19 Jun 2016 14:02:02 +0000 (10:02 -0400)
committerSage Weil <sage@redhat.com>
Wed, 22 Jun 2016 15:28:42 +0000 (11:28 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
src/common/config_opts.h

index f85c2e386140a44f6985ef351ff3847da0d7618c..854d834e1f3d6db7dc60cd8e56be96ec129e075f 100644 (file)
@@ -964,7 +964,7 @@ OPTION(bluestore_compression, OPT_STR, "none")  // force|aggressive|passive|none
 OPTION(bluestore_compression_algorithm, OPT_STR, "snappy")
 OPTION(bluestore_compression_min_blob_size, OPT_U32, 256*1024)
 OPTION(bluestore_compression_max_blob_size, OPT_U32, 4*1024*1024)
-OPTION(bluestore_cache_type, OPT_STR, "lru")
+OPTION(bluestore_cache_type, OPT_STR, "2q")   // lru, 2q
 OPTION(bluestore_onode_cache_size, OPT_U32, 16*1024)
 OPTION(bluestore_buffer_cache_size, OPT_U32, 256*1024*1024)
 OPTION(bluestore_cache_tails, OPT_BOOL, true)   // cache tail blocks in Onode