diff --git a/db/c.cc b/db/c.cc index 3c98429787..4c84a472e2 100644 --- a/db/c.cc +++ b/db/c.cc @@ -1766,6 +1766,11 @@ void rocksdb_options_set_memtable_prefix_bloom_probes( opt->rep.memtable_prefix_bloom_probes = v; } +void rocksdb_options_set_memtable_prefix_bloom_huge_page_tlb_size( + rocksdb_options_t* opt, size_t v) { + opt->rep.memtable_prefix_bloom_huge_page_tlb_size = v; +} + void rocksdb_options_set_hash_skip_list_rep( rocksdb_options_t *opt, size_t bucket_count, int32_t skiplist_height, int32_t skiplist_branching_factor) { diff --git a/include/rocksdb/c.h b/include/rocksdb/c.h index 6bb3b85383..9a4ac33899 100644 --- a/include/rocksdb/c.h +++ b/include/rocksdb/c.h @@ -663,6 +663,8 @@ extern ROCKSDB_LIBRARY_API void rocksdb_options_set_memtable_prefix_bloom_bits( rocksdb_options_t*, uint32_t); extern ROCKSDB_LIBRARY_API void rocksdb_options_set_memtable_prefix_bloom_probes(rocksdb_options_t*, uint32_t); +extern ROCKSDB_LIBRARY_API void +rocksdb_options_set_memtable_prefix_bloom_huge_page_tlb_size(rocksdb_options_t*, size_t); extern ROCKSDB_LIBRARY_API void rocksdb_options_set_max_successive_merges( rocksdb_options_t*, size_t);