Merge pull request #916 from warrenfalk/capi_huge_page_option
Expose the option, memtable_prefix_bloom_huge_page_tlb_size, via C API
This commit is contained in:
commit
1dec5b8f5d
5
db/c.cc
5
db/c.cc
@ -1766,6 +1766,11 @@ void rocksdb_options_set_memtable_prefix_bloom_probes(
|
|||||||
opt->rep.memtable_prefix_bloom_probes = v;
|
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(
|
void rocksdb_options_set_hash_skip_list_rep(
|
||||||
rocksdb_options_t *opt, size_t bucket_count,
|
rocksdb_options_t *opt, size_t bucket_count,
|
||||||
int32_t skiplist_height, int32_t skiplist_branching_factor) {
|
int32_t skiplist_height, int32_t skiplist_branching_factor) {
|
||||||
|
@ -663,6 +663,8 @@ extern ROCKSDB_LIBRARY_API void rocksdb_options_set_memtable_prefix_bloom_bits(
|
|||||||
rocksdb_options_t*, uint32_t);
|
rocksdb_options_t*, uint32_t);
|
||||||
extern ROCKSDB_LIBRARY_API void
|
extern ROCKSDB_LIBRARY_API void
|
||||||
rocksdb_options_set_memtable_prefix_bloom_probes(rocksdb_options_t*, uint32_t);
|
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(
|
extern ROCKSDB_LIBRARY_API void rocksdb_options_set_max_successive_merges(
|
||||||
rocksdb_options_t*, size_t);
|
rocksdb_options_t*, size_t);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user