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
win
README -rw-r--r-- 405 bytes
dirent.h -rw-r--r-- 1.2 KB
likely.h -rw-r--r-- 788 bytes
port.h -rw-r--r-- 872 bytes
port_example.h -rw-r--r-- 3.7 KB
port_posix.cc -rw-r--r-- 4.7 KB
port_posix.h -rw-r--r-- 5.2 KB
stack_trace.cc -rw-r--r-- 3.5 KB
stack_trace.h -rw-r--r-- 686 bytes
sys_time.h -rw-r--r-- 1.3 KB
util_logger.h -rw-r--r-- 980 bytes
xpress.h -rw-r--r-- 725 bytes

README

back to top