From: Sage Weil Date: Mon, 11 Jun 2018 12:27:10 +0000 (-0500) Subject: Merge pull request #22009 from markhpc/wip-bs-cache-autotune X-Git-Tag: v14.0.1~1138 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=49009fd5ba38d0a6f994a3f952472eb479f592d2;p=ceph.git Merge pull request #22009 from markhpc/wip-bs-cache-autotune common/PriorityCache: First Step toward priority based caching Reviewed-by: Sage Weil --- 49009fd5ba38d0a6f994a3f952472eb479f592d2 diff --cc src/kv/RocksDBStore.h index ce96199d0583,756e74222afb..81c94dfc426c --- a/src/kv/RocksDBStore.h +++ b/src/kv/RocksDBStore.h @@@ -119,11 -120,8 +120,12 @@@ public bool disableWAL; bool enable_rmrange; void compact() override; + int64_t high_pri_watermark; + void compact_async() override { + compact_range_async(string(), string()); + } + int tryInterpret(const string& key, const string& val, rocksdb::Options &opt); int ParseOptionsFromString(const string& opt_str, rocksdb::Options &opt); static int _test_init(const string& dir);