Revision 10d7546961acf61f20a9b713a0ab43de37ab8b0c authored by Aaron Gao on 11 April 2017, 23:59:50 UTC, committed by Facebook Github Bot on 12 April 2017, 00:13:33 UTC
Summary:
Users usually set readahead buffer to a multiple of 4k, more than that, usually a multiple of blocks.
So previously we set real buffer size 512 * n + 4k, which may introduce an additional block reading.
Closes https://github.com/facebook/rocksdb/pull/2138

Differential Revision: D4871504

Pulled By: lightmark

fbshipit-source-id: b070faa51d92e976e8e8468c00692699e585e243
1 parent ba7da43
History
File Mode Size
hash_cuckoo_rep.cc -rw-r--r-- 24.8 KB
hash_cuckoo_rep.h -rw-r--r-- 1.6 KB
hash_linklist_rep.cc -rw-r--r-- 29.5 KB
hash_linklist_rep.h -rw-r--r-- 1.8 KB
hash_skiplist_rep.cc -rw-r--r-- 11.2 KB
hash_skiplist_rep.h -rw-r--r-- 1.4 KB
inlineskiplist.h -rw-r--r-- 31.5 KB
inlineskiplist_test.cc -rw-r--r-- 16.8 KB
memtable_allocator.cc -rw-r--r-- 2.1 KB
memtable_allocator.h -rw-r--r-- 1.6 KB
memtablerep_bench.cc -rw-r--r-- 24.2 KB
skiplist.h -rw-r--r-- 15.6 KB
skiplist_test.cc -rw-r--r-- 10.2 KB
skiplistrep.cc -rw-r--r-- 8.6 KB
stl_wrappers.h -rw-r--r-- 923 bytes
vectorrep.cc -rw-r--r-- 9.0 KB

back to top